Diff for /loncom/build/distprobe between versions 1.9 and 1.12

version 1.9, 2006/08/25 03:00:28 version 1.12, 2007/04/23 20:04:52
Line 51  if (-e '/etc/redhat-release') { Line 51  if (-e '/etc/redhat-release') {
  }   }
     } elsif ($versionstring =~ /Red Hat Enterprise Linux [AE]S release ([\d\.]+) /) {      } elsif ($versionstring =~ /Red Hat Enterprise Linux [AE]S release ([\d\.]+) /) {
         $dist = 'rhes'.$1;          $dist = 'rhes'.$1;
       } elsif ($versionstring =~ /Red Hat Enterprise Linux Server release (\d+)/) {
           $dist = 'rhes'.$1;
     } else {      } else {
         warn('Unable to interpret /etc/redhat-release '.          warn('Unable to interpret /etc/redhat-release '.
              'to determine system type');               'to determine system type');
Line 68  if (-e '/etc/redhat-release') { Line 70  if (-e '/etc/redhat-release') {
     my $versionstring=<IN>;      my $versionstring=<IN>;
     chomp($versionstring);      chomp($versionstring);
     close(IN);      close(IN);
     if ($versionstring =~ /^SUSE LINUX Enterprise Server ([\d\.]+) /) {      if ($versionstring =~ /^SUSE LINUX Enterprise Server ([\d\.]+) /i) {
         $dist='sles'.$1;          $dist='sles'.$1;
     } elsif ($versionstring =~ /^SuSE Linux ([\d\.]+) /) {      } elsif ($versionstring =~ /^SuSE Linux ([\d\.]+) /i) {
           $dist = 'suse'.$1;
       } elsif ($versionstring =~ /^openSUSE ([\d\.]+) /i) {
         $dist = 'suse'.$1;          $dist = 'suse'.$1;
     } else {      } else {
         warn('Unable to interpret /etc/SuSE-release '.          warn('Unable to interpret /etc/SuSE-release '.

Removed from v.1.9  
changed lines
  Added in v.1.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>