Merge pull request #288 from TAAPArthur/portable_xz

Removed non-portable xz options
This commit is contained in:
dylan 2021-10-23 12:45:35 +03:00 committed by GitHub
commit 69b8c9ac1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
kiss
View File

@ -193,7 +193,7 @@ decompress() {
*.lz) lzip -dc ;; *.lz) lzip -dc ;;
*.tar) cat ;; *.tar) cat ;;
*.tgz|*.gz) gzip -d ;; *.tgz|*.gz) gzip -d ;;
*.xz|*.txz) xz -dcT0 ;; *.xz|*.txz) xz -dc ;;
*.zst) zstd -dc ;; *.zst) zstd -dc ;;
esac < "$1" esac < "$1"
} }
@ -851,7 +851,7 @@ pkg_tar() {
gz) gzip -6 ;; gz) gzip -6 ;;
lzma) lzma -z ;; lzma) lzma -z ;;
lz) lzip -z ;; lz) lzip -z ;;
xz) xz -zT0 ;; xz) xz -z ;;
zst) zstd -z ;; zst) zstd -z ;;
esac > "$_tar_file" esac > "$_tar_file"