mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 16:40:07 -07:00
kiss: Add support for tgz archives.
This commit is contained in:
parent
da9ab2c0d8
commit
6bb9bfd7bb
2
kiss
2
kiss
@ -99,7 +99,7 @@ pkg_extract() {
|
|||||||
case $(source_type "$src"; echo $?)-$src in
|
case $(source_type "$src"; echo $?)-$src in
|
||||||
2-*) cp -f "$src" "$mak_dir/$dest" ;;
|
2-*) cp -f "$src" "$mak_dir/$dest" ;;
|
||||||
|
|
||||||
3-*.tar*)
|
3-*.tar*|3-*.tgz)
|
||||||
tar xf "$src_dir/${src##*/}" -C "$mak_dir/$dest" \
|
tar xf "$src_dir/${src##*/}" -C "$mak_dir/$dest" \
|
||||||
--strip-components 1 || die "Couldn't extract ${src##*/}" ;;
|
--strip-components 1 || die "Couldn't extract ${src##*/}" ;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user