cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 289a7793082379acc79924175fddf6b32abd38e1
parent 2ed63a1b4e394cea78f864a7fe454c8d1b18c76b
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon, 11 May 2020 16:45:42 +0300

kiss: add support for decompressing .txz tarballs

Diffstat:
Mkiss | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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