kiss: Fix zstd <> xz incompatibility

This commit is contained in:
Dylan Araps 2021-06-30 09:03:21 +00:00
parent e8927ec1ad
commit a16230c40c

4
kiss
View File

@ -100,7 +100,7 @@ decompress() {
*.lz) lzip -dc ;;
*.tar) cat ;;
*.tgz|*.gz) gzip -d ;;
*.xz|*.txz) xz -dcT 0 ;;
*.xz|*.txz) xz -dcT0 ;;
*.zst) zstd -dc ;;
esac < "$1"
}
@ -610,7 +610,7 @@ pkg_tar() (
gz) gzip -6 ;;
lzma) lzma -z ;;
lz) lzip -z ;;
xz) xz -zT 0 ;;
xz) xz -zT0 ;;
zst) zstd -z ;;
esac > "$bin_dir/$1@$version-$release.tar.${KISS_COMPRESS:=gz}"