aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-23 05:41:47 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-23 05:41:47 +0000
commite45cef2cd29ae924c496f44079fc5c6e50ca2820 (patch)
tree872b09f7e2a85e56454d57c882fc3f0de55628f2 /kiss
parent194991989047ccae006a65407524292609185840 (diff)
downloadcpt-e45cef2cd29ae924c496f44079fc5c6e50ca2820.tar.gz
kiss: Add support for tgz archives.
FossilOrigin-Name: aef3bdbc663b0aac53b43e0c2426453a356ac7b239c6424897bffcdcc57ccae1
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index b9e6a2e..64f6356 100755
--- a/kiss
+++ b/kiss
@@ -99,7 +99,7 @@ pkg_extract() {
case $(source_type "$src"; echo $?)-$src in
2-*) cp -f "$src" "$mak_dir/$dest" ;;
- 3-*.tar*)
+ 3-*.tar*|3-*.tgz)
tar xf "$src_dir/${src##*/}" -C "$mak_dir/$dest" \
--strip-components 1 || die "Couldn't extract ${src##*/}" ;;