cpt

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

commit d751733744b249bc7bbeb4c802c0490ddafc6b53
parent 2bb1bbcc0aa9b6854a3ed631ad73cea1510082a7
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 21 Jan 2020 02:19:06 +0200

kiss: Prevent sticky directories

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

diff --git a/kiss b/kiss @@ -774,8 +774,9 @@ pkg_install() { # This is repeated multiple times. Better to make it a function. pkg_rsync() { - rsync --chown=root:root -WhHKa --no-compress "$1" --exclude /etc \ - "$tar_dir/$pkg_name/" "$KISS_ROOT/" + rsync --chown=root:root --chmod=Du-s,Dg-s,Do-s \ + -WhHKa --no-compress "$1" --exclude /etc \ + "$tar_dir/$pkg_name/" "$KISS_ROOT/" } # Install the package by using 'rsync' and overwrite any existing files