1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00

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

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