aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-26 22:15:10 +0000
committermerakor <cem@ckyln.com>2020-04-26 22:15:10 +0000
commit7380fa1bb2c599cea8c04843ad5d181e94e06809 (patch)
tree3ce3e222d75a4bab52687d00b00309e0ffc08fca /kiss
parentf5c901465ae8bbc71217c27be20a17abb5d4dffa (diff)
downloadcpt-7380fa1bb2c599cea8c04843ad5d181e94e06809.tar.gz
kiss: Fix directory permissions
FossilOrigin-Name: e7372a9e612621cb35a272a6d25918a5433fb55aae60e4bcd2c810c5d967b33e
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss6
1 files changed, 5 insertions, 1 deletions
diff --git a/kiss b/kiss
index 8836f7d..61595e8 100755
--- 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