cpt

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

commit ed983f4380d1810bf15342055147934e0767c37f
parent 6866e1e9d1c095d2889a6d338fda90c70ff5e7c2
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 25 Apr 2020 13:58:51 +0300

kiss: Add case for symlinks which would overwrite a dir

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

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