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

version 1.9, 2006/08/25 03:00:28 version 1.11, 2007/04/22 16:33:22
Line 68  if (-e '/etc/redhat-release') { Line 68  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.11


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