--- loncom/build/distprobe 2004/11/01 21:53:23 1.7 +++ loncom/build/distprobe 2005/07/18 15:10:11 1.8 @@ -2,7 +2,7 @@ # # The LearningOnline Network with CAPA # -# $Id: distprobe,v 1.7 2004/11/01 21:53:23 albertel Exp $ +# $Id: distprobe,v 1.8 2005/07/18 15:10:11 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -49,6 +49,8 @@ if (-e '/etc/redhat-release') { } else { $dist = 'fedora'.int($version); } + } elsif ($versionstring =~ /Red Hat Enterprise Linux ES release ([\d\.]+) /) { + $dist = 'rhes'.$1; } else { warn('Unable to interpret /etc/redhat-release '. 'to determine system type');