1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: add back support for tgz archives (y lvm2 y)

This commit is contained in:
Dylan Araps 2019-09-23 09:36:06 +03:00
parent 0c1188533f
commit 944f531cb9

2
kiss
View File

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