kiss: minor change

This commit is contained in:
Dylan Araps 2020-05-15 10:37:57 +03:00
parent e43dd77469
commit 7b4e0439da
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

10
kiss
View File

@ -108,13 +108,13 @@ run_hook() {
decompress() {
case $1 in
*.bz2) bzip2 -d ;;
*.bz2) bzip2 -d ;;
*.lzma) lzma -dc ;;
*.lz) lzip -dc ;;
*.tar) cat ;;
*.tgz|*.gz) gzip -d ;;
*.lz) lzip -dc ;;
*.tar) cat ;;
*.tgz|*.gz) gzip -d ;;
*.xz|*.txz) xz -dcT 0 ;;
*.zst) zstd -dc ;;
*.zst) zstd -dc ;;
esac < "$1"
}