Diff for /loncom/build/distprobe between versions 1.23 and 1.26

version 1.23, 2019/07/02 19:40:31 version 1.26, 2021/12/21 13:57:47
Line 64  if (-e '/etc/oracle-release') { Line 64  if (-e '/etc/oracle-release') {
         $dist = 'rhes'.$1;          $dist = 'rhes'.$1;
     } elsif ($versionstring =~ /Red Hat Enterprise Linux release (\d+)/) {      } elsif ($versionstring =~ /Red Hat Enterprise Linux release (\d+)/) {
         $dist = 'rhes'.$1;          $dist = 'rhes'.$1;
     } elsif ($versionstring =~ /CentOS(?:| Linux) release (\d+)/) {      } elsif ($versionstring =~ /CentOS(| Linux| Stream) release (\d+)/) {
         $dist = 'centos'.$1;          $dist = 'centos'.$2;
           if ($1 eq ' Stream') {
               $dist .= '-stream';
           }
     } elsif ($versionstring =~ /Scientific Linux (?:SL )?release ([\d.]+) /) {      } elsif ($versionstring =~ /Scientific Linux (?:SL )?release ([\d.]+) /) {
         my $ver = $1;          my $ver = $1;
         $ver =~ s/\.\d+$//;          $ver =~ s/\.\d+$//;
         $dist = 'scientific'.$ver;          $dist = 'scientific'.$ver;
       } elsif ($versionstring =~ /Rocky Linux release ([\d.]+)/) {
           my $ver = $1;
           $ver =~ s/\.\d+$//;
           $dist = 'rocky'.$ver;
       } elsif ($versionstring =~ /AlmaLinux release ([\d.]+)/) {
           my $ver = $1;
           $ver =~ s/\.\d+$//;
           $dist = 'alma'.$ver;
     } else {      } else {
         warn('Unable to interpret /etc/redhat-release '.          warn('Unable to interpret /etc/redhat-release '.
              'to determine system type');               'to determine system type');

Removed from v.1.23  
changed lines
  Added in v.1.26


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