mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-30 14:10:37 +00:00
apltest: ignore architecture
This commit is contained in:
parent
8e48e6f171
commit
eac3a06d2a
@ -13,9 +13,12 @@ foreach my $k (keys %{$pkglist->{'all'}}) {
|
|||||||
next if $k eq 'pve-web-news';
|
next if $k eq 'pve-web-news';
|
||||||
my $res = $pkglist->{'all'}->{$k};
|
my $res = $pkglist->{'all'}->{$k};
|
||||||
|
|
||||||
my $template = "$res->{os}-$res->{package}_$res->{version}_i386.tar.gz";
|
my $template = "$res->{os}-$res->{package}_$res->{version}_ARCH.tar.gz";
|
||||||
$template =~ s/$res->{os}-$res->{os}-/$res->{os}-/;
|
$template =~ s/$res->{os}-$res->{os}-/$res->{os}-/;
|
||||||
|
|
||||||
|
$k =~ s/_amd64\.tar\.gz$/_ARCH.tar.gz/;
|
||||||
|
$k =~ s/_i386\.tar\.gz$/_ARCH.tar.gz/;
|
||||||
|
|
||||||
if ($k ne $template) {
|
if ($k ne $template) {
|
||||||
print "ERROR: $k != $template\n";
|
print "ERROR: $k != $template\n";
|
||||||
$err = 1;
|
$err = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user