From 46f4f35e320015bbadcf3e2fbf130f8cbdb2a48e Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 11 May 2020 13:45:42 +0000 Subject: kiss: add support for decompressing .txz tarballs FossilOrigin-Name: 8d6d6860ac86d347256969ec6247498145dc2f85b1375bbc66bc2f3ba7d5afd0 --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index bb35d10..bbffbea 100755 --- a/kiss +++ b/kiss @@ -94,7 +94,7 @@ decompress() { case $1 in *.tar) cat ;; *.bz2) bzip2 -cd ;; - *.xz) xz -dcT 0 ;; + *.xz|*.txz) xz -dcT 0 ;; *.tgz|*.gz) gzip -cd ;; *.zst) zstd -cd ;; esac < "$1" @@ -315,7 +315,7 @@ pkg_extract() { # Only 'tar' an 'zip' archives are currently supported for # extraction. Other filetypes are simply copied to '$mak_dir' # which allows for manual extraction. - *://*.tar|*://*.tar.??|*://*.tar.???|*://*.tar.????|*://*.tgz) + *://*.tar|*://*.tar.??|*://*.tar.???|*://*.tar.????|*://*.tgz|*://*.txz) decompress "$src_dir/$1/${src##*/}" > .ktar -- cgit v1.2.3