aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss6
1 files changed, 4 insertions, 2 deletions
diff --git a/kiss b/kiss
index 663bf65..6e398af 100755
--- a/kiss
+++ b/kiss
@@ -90,9 +90,10 @@ run_hook() {
decompress() {
case $1 in
- *.bz2) bzip2 -d ;;
+ *.bz2) bzip2 -d ;;
*.xz) xz -dcT 0 ;;
- *.tgz|*.gz) gzip -d ;;
+ *.tgz|*.gz) gzip -d ;;
+ *.zst) zstd -d ;;
esac < "$1"
}
@@ -516,6 +517,7 @@ pkg_tar() {
bz2) bzip2 -z ;;
xz) xz -zT 0 ;;
gz) gzip -6 ;;
+ zst) zstd -3 ;;
esac \
> "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}"