summaryrefslogtreecommitdiff
path: root/source/n/proftpd/proftpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/proftpd/proftpd.SlackBuild')
-rwxr-xr-xsource/n/proftpd/proftpd.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/n/proftpd/proftpd.SlackBuild b/source/n/proftpd/proftpd.SlackBuild
index 6a911403..5607c9c6 100755
--- a/source/n/proftpd/proftpd.SlackBuild
+++ b/source/n/proftpd/proftpd.SlackBuild
@@ -77,9 +77,9 @@ cd proftpd-$DIRVER || exit 1
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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -130,8 +130,8 @@ cp -a contrib/README $PKG/usr/doc/proftpd-$VERSION/README.contrib
cp -a doc sample-configurations $PKG/usr/doc/proftpd-$VERSION
# Bloat removal:
( cd $PKG/usr/doc
- find . -name "*.sgml" -exec rm {} \;
- find . -name "*.pdf" -exec rm {} \;
+ find . -name "*.sgml" -exec rm {} \+
+ find . -name "*.pdf" -exec rm {} \+
)
rmdir $PKG/usr/share/locale
rmdir $PKG/usr/share