forked from kiss-community/kiss
kiss: Fix zstd <> xz incompatibility
This commit is contained in:
parent
e8927ec1ad
commit
a16230c40c
4
kiss
4
kiss
@ -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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user