aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-26 10:15:24 +0000
committermerakor <cem@ckyln.com>2020-04-26 10:15:24 +0000
commit89c262ba4066235deae367ee8fd1e6683c25d524 (patch)
tree24ae7b261ec7865c2838da62daaf0964d70cade8
parent05d3c0b98af5caadfeeb972432c96ef6d9297d2d (diff)
downloadcpt-89c262ba4066235deae367ee8fd1e6683c25d524.tar.gz
kiss: look in /
FossilOrigin-Name: 5fe3bb1aef2a3f94347c49cbbddb0ecdb7ce4b2e960ebb1fc131518b64bcafff
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 2057ad2..7bbd45c 100755
--- a/kiss
+++ b/kiss
@@ -871,7 +871,7 @@ pkg_install_files() {
install -o root -g root -m "$perms" -d "$line" ;;
*) test "$1" "$line" ||
if [ -L "$2/$line" ]; then
- [ -d "$2/$line" ] && continue
+ [ -d "$line" ] && continue
cp -fPp "$2/$line" "${line%/*}"
chown -h root:root "$line"