diff options
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##*/}" |