diff options
author | merakor <cem@ckyln.com> | 2020-04-26 22:15:10 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-04-26 22:15:10 +0000 |
commit | 7380fa1bb2c599cea8c04843ad5d181e94e06809 (patch) | |
tree | 3ce3e222d75a4bab52687d00b00309e0ffc08fca | |
parent | f5c901465ae8bbc71217c27be20a17abb5d4dffa (diff) | |
download | cpt-7380fa1bb2c599cea8c04843ad5d181e94e06809.tar.gz |
kiss: Fix directory permissions
FossilOrigin-Name: e7372a9e612621cb35a272a6d25918a5433fb55aae60e4bcd2c810c5d967b33e
-rwxr-xr-x | kiss | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |