--- loncom/build/distprobe 2018/10/17 14:33:49 1.21 +++ loncom/build/distprobe 2019/05/27 01:26:31 1.22 @@ -2,7 +2,7 @@ # # The LearningOnline Network with CAPA # -# $Id: distprobe,v 1.21 2018/10/17 14:33:49 raeburn Exp $ +# $Id: distprobe,v 1.22 2019/05/27 01:26:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -54,6 +54,8 @@ if (-e '/etc/redhat-release') { $dist = 'rhes'.$1; } elsif ($versionstring =~ /Red Hat Enterprise Linux Server release (\d+)/) { $dist = 'rhes'.$1; + } elsif ($versionstring =~ /Red Hat Enterprise Linux release (\d+)/) { + $dist = 'rhes'.$1; } elsif ($versionstring =~ /CentOS(?:| Linux) release (\d+)/) { $dist = 'centos'.$1; } elsif ($versionstring =~ /Scientific Linux (?:SL )?release ([\d.]+) /) {