cpt

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

commit ed87443012d5926f99596cd0070060f9191a119e
parent 420cf4093b640aa521f91a25cfc8f16f5ffed9db
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 26 Apr 2020 11:00:28 +0300

kiss: Fix directory permissions

Diffstat:
Mkiss | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -869,7 +869,11 @@ pkg_install_files() { case $line in /etc/*) ;; */) [ -d "$line" ] || install -o root -g root -m "$rwx" \ - -d "$KISS_ROOT/$line" ;; + -d "$KISS_ROOT/$line" + + chmod -s "$KISS_ROOT/$line" + ;; + *) test "$1" "$KISS_ROOT/$line" || if [ -h "$2/$line" ]; then [ -d "$KISS_ROOT/$line" ] && continue