cpt

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

commit 9c5dc33de023c12460b4eac5a33639c2dc3e5ff9
parent 133bff4efaf8570a7d70b678d49f7b105877eef8
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 11 Sep 2019 09:16:44 +0300

kiss: clean up

Diffstat:
Mkiss | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -148,11 +148,12 @@ pkg_extract() { || die "[$1] Couldn't extract ${src##*/}" ;; - # Local source. *) + # Local file. if [ -f "$repo_dir/$src" ]; then cp -f "$repo_dir/$src" . + # Remote file. elif [ -f "$src_dir/$1/${src##*/}" ]; then cp -f "$src_dir/$1/${src##*/}" .