forked from kiss-community/kiss
kiss: zip source support. Closes #133
This commit is contained in:
parent
12f717265c
commit
f11b6e39b6
5
kiss
5
kiss
@ -287,6 +287,11 @@ pkg_extract() {
|
|||||||
die "$1" "Couldn't extract ${src##*/}"
|
die "$1" "Couldn't extract ${src##*/}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
*://*.zip)
|
||||||
|
unzip "$src_dir/$1/${src##*/}" ||
|
||||||
|
die "$1" "Couldn't extract ${src##*/}"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# Local file.
|
# Local file.
|
||||||
if [ -f "$(pkg_find "$1")/$src" ]; then
|
if [ -f "$(pkg_find "$1")/$src" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user