cpt

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

commit 21d2d68dfbf3c09d91efd8b166a19bda3b3e4e6d
parent 306522fa14cada60f9d8dae6d7fef9cc3b3fc073
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 30 Apr 2020 11:04:55 +0300

kiss: force stdout on decompression

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

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