summaryrefslogtreecommitdiff
path: root/source/kde/kde.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde.SlackBuild')
-rwxr-xr-xsource/kde/kde.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/kde/kde.SlackBuild b/source/kde/kde.SlackBuild
index 11c8f2bd..06ae53d3 100755
--- a/source/kde/kde.SlackBuild
+++ b/source/kde/kde.SlackBuild
@@ -80,9 +80,9 @@ fix_perms() {
chown -R root:root $target_dir
find $target_dir \
\( -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 {} \+
}
strip_binaries() {
@@ -321,7 +321,7 @@ build_mod_pkg () {
fi
# Get rid of zero-length junk files:
- find $PKG/usr/doc/${PKGNAME}-$MODULAR_PACKAGE_VERSION -type f -size 0 -exec rm --verbose "{}" \;
+ find $PKG/usr/doc/${PKGNAME}-$MODULAR_PACKAGE_VERSION -type f -size 0 -exec rm --verbose "{}" \+
rmdir --verbose $PKG/usr/doc/${PKGNAME}-$MODULAR_PACKAGE_VERSION 2> /dev/null
# Strip binaries: