change ubu arch in validate_os
This commit is contained in:
parent
f39c0f46a1
commit
92d313bb20
@ -1872,6 +1872,11 @@ sub validate_os
|
||||
my ($osbasename,$osmore) = split(/\,/, $osinfo);
|
||||
my ($osmajorversion,$osminorversion) = split(/\./, $osmore);
|
||||
my $osarch=`uname -p`;
|
||||
if ($debianflag==1) {
|
||||
if($osarch == "ppc64le"){
|
||||
$osarch="ppc64el";
|
||||
}
|
||||
}
|
||||
chomp($osarch);
|
||||
$osinfo =~ s/\,//;
|
||||
my $repo_osinfo = "$repo->{osbasename}$repo->{osmajorversion}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user