summaryrefslogtreecommitdiffstats
path: root/source/l/libcap/libcap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libcap/libcap.SlackBuild')
-rwxr-xr-xsource/l/libcap/libcap.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/l/libcap/libcap.SlackBuild b/source/l/libcap/libcap.SlackBuild
index c219b7d4c..c124bbf66 100755
--- a/source/l/libcap/libcap.SlackBuild
+++ b/source/l/libcap/libcap.SlackBuild
@@ -78,9 +78,9 @@ cd $PKGNAM-$VERSION || 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 {} \+
# Set the CFLAGS
sed -i.orig "s/^\(DEBUG =\).*/\1$SLKCFLAGS/" Make.Rules
@@ -111,7 +111,7 @@ rm -rf $PKG/usr/man/man2
# Compress the man pages
( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
+ find . -type f -exec gzip -9 {} \+
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
@@ -121,7 +121,7 @@ cp -a \
progs/quicktest.sh $CWD/capfaq-0.2.txt $CWD/README.SLACKWARE \
$PKG/usr/doc/$PKGNAM-$VERSION
chown -R root:root $PKG/usr/doc
-find $PKG/usr/doc -type f -exec chmod 644 {} \;
+find $PKG/usr/doc -type f -exec chmod 644 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc