summaryrefslogtreecommitdiff
path: root/Build/Deb.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Build/Deb.pm')
-rw-r--r--Build/Deb.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/Deb.pm b/Build/Deb.pm
index 3d72088..dc708a9 100644
--- a/Build/Deb.pm
+++ b/Build/Deb.pm
@@ -263,6 +263,8 @@ sub debq {
$decompressor = 'gunzip';
} elsif ($controlname eq 'control.tar.xz ' || $controlname eq 'control.tar.xz/ ') {
$decompressor = 'unxz';
+ } elsif ($controlname eq 'control.tar.zst ' || $controlname eq 'control.tar.zst/') {
+ $decompressor = 'unzstd';
} elsif ($controlname eq 'control.tar ' || $controlname eq 'control.tar/ ') {
$decompressor = 'cat';
} else {
@@ -398,6 +400,7 @@ sub queryhdrmd5 {
my $controlname = substr($data, 0, 16);
if ($controlname ne 'control.tar.gz ' && $controlname ne 'control.tar.gz/ ' &&
$controlname ne 'control.tar.xz ' && $controlname ne 'control.tar.xz/ ' &&
+ $controlname ne 'control.tar.zst ' && $controlname ne 'control.tar.zst/' &&
$controlname ne 'control.tar ' && $controlname ne 'control.tar/ ') {
warn("$bin: control.tar is not second ar entry\n");
close F;