summaryrefslogtreecommitdiffstats
path: root/source/a/shadow/shadow.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/shadow/shadow.SlackBuild')
-rwxr-xr-xsource/a/shadow/shadow.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/a/shadow/shadow.SlackBuild b/source/a/shadow/shadow.SlackBuild
index c227b0f11..51ffb2313 100755
--- a/source/a/shadow/shadow.SlackBuild
+++ b/source/a/shadow/shadow.SlackBuild
@@ -85,9 +85,9 @@ zcat $CWD/shadow.login.display.short.hostname.diff.gz | patch -p1 --verbose || e
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
if [ ! -r ./configure ]; then
./autogen.sh
@@ -116,7 +116,7 @@ mv $PKG/etc/default/useradd $PKG/etc/default/useradd.new
# /bin/groups is provided by coreutils.
rm -f $PKG/bin/groups
-find $PKG -name groups.1 -exec rm {} \;
+find $PKG -name groups.1 -exec rm {} \+
# Install a login.defs with unsurprising defaults:
rm -f $PKG/etc/login.defs
@@ -149,7 +149,7 @@ touch $PKG/var/log/faillog.new
)
# Use 4711 rather than 4755 permissions where setuid root is required:
-find $PKG -type f -perm 4755 -exec chmod 4711 "{}" \;
+find $PKG -type f -perm 4755 -exec chmod 4711 "{}" \+
# Compress and if needed symlink the man pages:
if [ -d $PKG/usr/man ]; then