appliance info: update apltest for zstd based archives

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-11-30 16:20:58 +01:00
parent b44e81e42a
commit 40946b6c60

View File

@ -17,7 +17,7 @@ foreach my $k (keys %{$pkglist->{'all'}}) {
# heuristic only..
my $template = "$res->{package}_$res->{version}_$res->{architecture}.tar";
if ($k !~ m/^($res->{os}-)?\Q$template\E\.(gz|xz)$/) {
if ($k !~ m/^($res->{os}-)?\Q$template\E\.(gz|xz|zst)$/) {
print "ERROR: $k != $template\n";
#print Dumper($res) . "\n";
$err = 1;