From eb8a4889f96d75b02fe074917ac5555814c3db02 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Mon, 23 Sep 2019 06:36:05 +0000 Subject: kiss: add back support for tgz archives (y lvm2 y) FossilOrigin-Name: ede9a9180b5d63dfd69b9e76f7da3b83f9f47bf149abf433cf703df31962ab5f --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index cfb280f..a46989b 100755 --- a/kiss +++ b/kiss @@ -166,7 +166,7 @@ pkg_extract() { # Only 'tar' archives are currently supported for extraction. # Any other file-types are simply copied to '$mak_dir' which # allows for manual extraction. - if [ -z "${src##*.tar*}" ]; then + if [ -z "${src##*.tar*}" ] || [ -z "${src##*.tgz}" ]; then tar xf "$src_dir/$1/${src##*/}" --strip-components 1 \ || die "$1" "Couldn't extract ${src##*/}" -- cgit v1.2.3