Return to distprobe CVS log | Up to [LON-CAPA] / loncom / build |
version 1.2, 2003/02/03 18:03:52 | version 1.3, 2003/04/15 15:25:51 |
---|---|
Line 11 if (-e '/etc/redhat-release') { | Line 11 if (-e '/etc/redhat-release') { |
my $version=(split(/\s+/,$versionstring))[4]; | my $version=(split(/\s+/,$versionstring))[4]; |
if ($version=~/^7\./) { | if ($version=~/^7\./) { |
$dist='redhat7'; | $dist='redhat7'; |
} elsif ($version=~/^8\./) { | |
$dist='redhat8'; | |
} | } |
} | } |
elsif (-e '/etc/debian_version') { | elsif (-e '/etc/debian_version') { |