cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit cc4a25d628da9525ec81e39e8894689344f4e8a9
parent 6ef1ba4714cf7a2414c850f9b8d32c1eeca1d5ef
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 14 Apr 2020 18:43:12 +0300

kiss: extract zips

Diffstat:
Mkiss | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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