kiss: zstd support

This commit is contained in:
Dylan Araps 2020-03-22 14:46:38 +02:00
parent c570d24086
commit d01ffde93c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 3 additions and 1 deletions

2
kiss
View File

@ -93,6 +93,7 @@ decompress() {
*.bz2) bzip2 -d ;;
*.xz) xz -dcT 0 ;;
*.tgz|*.gz) gzip -d ;;
*.zst) zstd -dc ;;
esac < "$1"
}
@ -505,6 +506,7 @@ pkg_tar() {
bz2) bzip2 -z ;;
xz) xz -zT 0 ;;
gz) gzip -6 ;;
zst) zstd -z ;;
esac \
> "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}"