diff options
author | 2021-03-16 00:42:44 +0100 | |
---|---|---|
committer | 2021-03-16 00:42:44 +0100 | |
commit | 9c88ad056256ebc6c195b0d589952d801a822f0f (patch) | |
tree | 6f9fd26b86e9d9d07bf57d57e75eba6875038a45 | |
parent | rpmoffset: add zstd support (diff) | |
download | rpm2targz-9c88ad056256ebc6c195b0d589952d801a822f0f.tar.gz rpm2targz-9c88ad056256ebc6c195b0d589952d801a822f0f.tar.bz2 rpm2targz-9c88ad056256ebc6c195b0d589952d801a822f0f.zip |
rpm2tar: add support for zstd files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | rpm2targz | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -26,7 +26,7 @@ dist-live: clean mkdir $(P) cp `find . -maxdepth 1 -type f '!' -name .gitignore` $(P) -LINKS = $(patsubst %,rpm2%,tar tarbz2 tbz2 tarlzma tgz tarxz txz) +LINKS = $(patsubst %,rpm2%,tar tarbz2 tbz2 tarlzma tgz tarxz txz tarzst) links: set -e; for t in $(LINKS) ; do $(dosym) rpm2targz $$t ; done @@ -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 |