Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
kiss: add back support for tgz archives (y lvm2 y)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Sep 23, 2019
1 parent 0c11885 commit 944f531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiss
Original file line number Diff line number Diff line change
Expand Up @@ -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##*/}"

Expand Down

0 comments on commit 944f531

Please sign in to comment.