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

version 1.8, 2005/07/18 15:10:11 version 1.12, 2007/04/23 20:04:52
Line 49  if (-e '/etc/redhat-release') { Line 49  if (-e '/etc/redhat-release') {
  } else {   } else {
     $dist = 'fedora'.int($version);      $dist = 'fedora'.int($version);
  }   }
     } elsif ($versionstring =~ /Red Hat Enterprise Linux ES release ([\d\.]+) /) {      } elsif ($versionstring =~ /Red Hat Enterprise Linux [AE]S release ([\d\.]+) /) {
           $dist = 'rhes'.$1;
       } elsif ($versionstring =~ /Red Hat Enterprise Linux Server release (\d+)/) {
         $dist = 'rhes'.$1;          $dist = 'rhes'.$1;
     } else {      } else {
         warn('Unable to interpret /etc/redhat-release '.          warn('Unable to interpret /etc/redhat-release '.
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.8  
changed lines
  Added in v.1.12


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