version 1.10, 2006/09/28 22:58:03
|
version 1.11, 2007/04/22 16:33:22
|
Line 72 if (-e '/etc/redhat-release') {
|
Line 72 if (-e '/etc/redhat-release') {
|
$dist='sles'.$1; |
$dist='sles'.$1; |
} elsif ($versionstring =~ /^SuSE Linux ([\d\.]+) /i) { |
} elsif ($versionstring =~ /^SuSE Linux ([\d\.]+) /i) { |
$dist = 'suse'.$1; |
$dist = 'suse'.$1; |
|
} elsif ($versionstring =~ /^openSUSE ([\d\.]+) /i) { |
|
$dist = 'suse'.$1; |
} else { |
} else { |
warn('Unable to interpret /etc/SuSE-release '. |
warn('Unable to interpret /etc/SuSE-release '. |
'to determine system type'); |
'to determine system type'); |