kiss: zip source support. Closes #133

This commit is contained in:
Dylan Araps 2020-04-14 14:52:39 +00:00
parent 12f717265c
commit f11b6e39b6
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 5 additions and 0 deletions

5
kiss
View File

@ -287,6 +287,11 @@ pkg_extract() {
die "$1" "Couldn't extract ${src##*/}"
;;
*://*.zip)
unzip "$src_dir/$1/${src##*/}" ||
die "$1" "Couldn't extract ${src##*/}"
;;
*)
# Local file.
if [ -f "$(pkg_find "$1")/$src" ]; then