version 1.7, 2004/11/01 21:53:23
|
version 1.9, 2006/08/25 03:00:28
|
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 [AE]S release ([\d\.]+) /) { |
|
$dist = 'rhes'.$1; |
} else { |
} else { |
warn('Unable to interpret /etc/redhat-release '. |
warn('Unable to interpret /etc/redhat-release '. |
'to determine system type'); |
'to determine system type'); |