aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss7
1 files changed, 4 insertions, 3 deletions
diff --git a/kiss b/kiss
index d9feeea..2616110 100755
--- a/kiss
+++ b/kiss
@@ -91,10 +91,11 @@ run_hook() {
decompress() {
case $1 in
- *.bz2) bzip2 -d ;;
+ *.tar) cat ;;
+ *.bz2) bzip2 -cd ;;
*.xz) xz -dcT 0 ;;
- *.tgz|*.gz) gzip -d ;;
- *.zst) zstd -d ;;
+ *.tgz|*.gz) gzip -cd ;;
+ *.zst) zstd -cd ;;
esac < "$1"
}