aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-14 15:43:11 +0000
committermerakor <cem@ckyln.com>2020-04-14 15:43:11 +0000
commit37402bcb8fdb364289403bd5655de0582a4bb3c9 (patch)
tree600a153723aed6aa17f25a425f1cfbfc3b56b455 /kiss
parent2251a62bae596f06ddccd40c85d20e47833df96d (diff)
downloadcpt-37402bcb8fdb364289403bd5655de0582a4bb3c9.tar.gz
kiss: extract zips
FossilOrigin-Name: 5a9c26eca91a05417406733446112408dcd32b9adfb81ab41d63185b9631cd7f
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss6
1 files changed, 6 insertions, 0 deletions
diff --git a/kiss b/kiss
index ca7e6c7..b3af1cb 100755
--- a/kiss
+++ b/kiss
@@ -300,6 +300,12 @@ pkg_extract() {
die "$1" "Couldn't extract ${src##*/}"
;;
+ *://*.zip)
+ unzip "$src_dir/$1/${src##*/}" ||
+ die "$1" "Couldn't extract ${src##*/}"
+
+ ;;
+
*)
# Local file.
if [ -f "$repo_dir/$src" ]; then