kiss: Prevent sticky directories
This commit is contained in:
parent
2bb1bbcc0a
commit
d751733744
3
kiss
3
kiss
|
@ -774,7 +774,8 @@ pkg_install() {
|
||||||
|
|
||||||
# This is repeated multiple times. Better to make it a function.
|
# This is repeated multiple times. Better to make it a function.
|
||||||
pkg_rsync() {
|
pkg_rsync() {
|
||||||
rsync --chown=root:root -WhHKa --no-compress "$1" --exclude /etc \
|
rsync --chown=root:root --chmod=Du-s,Dg-s,Do-s \
|
||||||
|
-WhHKa --no-compress "$1" --exclude /etc \
|
||||||
"$tar_dir/$pkg_name/" "$KISS_ROOT/"
|
"$tar_dir/$pkg_name/" "$KISS_ROOT/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue