aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 2 insertions, 0 deletions
diff --git a/kiss b/kiss
index 458726b..2057ad2 100755
--- a/kiss
+++ b/kiss
@@ -871,6 +871,8 @@ pkg_install_files() {
install -o root -g root -m "$perms" -d "$line" ;;
*) test "$1" "$line" ||
if [ -L "$2/$line" ]; then
+ [ -d "$2/$line" ] && continue
+
cp -fPp "$2/$line" "${line%/*}"
chown -h root:root "$line"
else