diff options
author | merakor <cem@ckyln.com> | 2020-04-14 15:43:11 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-04-14 15:43:11 +0000 |
commit | 37402bcb8fdb364289403bd5655de0582a4bb3c9 (patch) | |
tree | 600a153723aed6aa17f25a425f1cfbfc3b56b455 /kiss | |
parent | 2251a62bae596f06ddccd40c85d20e47833df96d (diff) | |
download | cpt-37402bcb8fdb364289403bd5655de0582a4bb3c9.tar.gz |
kiss: extract zips
FossilOrigin-Name: 5a9c26eca91a05417406733446112408dcd32b9adfb81ab41d63185b9631cd7f
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |