diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-23 06:36:05 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-23 06:36:05 +0000 |
commit | eb8a4889f96d75b02fe074917ac5555814c3db02 (patch) | |
tree | 1e1fd55f31898d8f8fef2333182afbdc16698d9d /kiss | |
parent | fe2fa18317866ed96c0de4badda0ba0e4de20b83 (diff) | |
download | cpt-eb8a4889f96d75b02fe074917ac5555814c3db02.tar.gz |
kiss: add back support for tgz archives (y lvm2 y)
FossilOrigin-Name: ede9a9180b5d63dfd69b9e76f7da3b83f9f47bf149abf433cf703df31962ab5f
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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##*/}" |