rhels6.5 support

This commit is contained in:
immarvin 2013-12-05 21:51:47 -08:00
parent 7877dae894
commit a60bb9d50c
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,8 @@ require Exporter;
"1339638991.532890" => "rhels6.3", #i386
"1359576752.435900" => "rhels6.4", #x86_64
"1359576196.686790" => "rhels6.4", #ppc64
"1384196515.415715" => "rhels6.5", #x86_64
"1384198011.520581" => "rhels6.5", #ppc64
"1285193176.593806" => "rhelhpc6", #x86_64
"1305067719.718814" => "rhelhpc6.1",#x86_64
"1321545261.599847" => "rhelhpc6.2",#x86_64

View File

@ -1057,7 +1057,7 @@ sub is_redhat6sp4
open(my $relfile, "<", "/etc/redhat-release");
my $line = <$relfile>;
close($relfile);
if ( $line =~ /Red Hat Enterprise Linux Server release 6.4/i ){
if ( $line =~ /Red Hat Enterprise Linux Server release 6.[4-5]/i ){
return 1;
}
}