aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Zscheile <zseri.devel@ytrizja.de>2021-03-16 00:42:44 +0100
committerMike Frysinger <vapier@gentoo.org>2021-03-16 00:42:44 +0100
commit9c88ad056256ebc6c195b0d589952d801a822f0f (patch)
tree6f9fd26b86e9d9d07bf57d57e75eba6875038a45 /rpm2targz
parentrpmoffset: add zstd support (diff)
downloadrpm2targz-9c88ad056256ebc6c195b0d589952d801a822f0f.tar.gz
rpm2targz-9c88ad056256ebc6c195b0d589952d801a822f0f.tar.bz2
rpm2targz-9c88ad056256ebc6c195b0d589952d801a822f0f.zip
rpm2tar: add support for zstd files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'rpm2targz')
-rwxr-xr-xrpm2targz1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm2targz b/rpm2targz
index d32300c..b8b4b69 100755
--- a/rpm2targz
+++ b/rpm2targz
@@ -80,6 +80,7 @@ case ${argv0#rpm} in
2tgz) compress="gzip" suffix=".tgz";;
2tarxz) compress="xz" suffix=".tar.xz";;
2txz) compress="xz" suffix=".txz";;
+ 2tarzst) compress="zstd" suffix=".tar.zst";;
2targz|*) compress="gzip" suffix=".tar.gz";;
esac
case ${argv0} in