aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiss b/kiss
index da89969..8242c5b 100755
--- 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##*/}" .