summaryrefslogtreecommitdiffstats
path: root/source/ap/dc3dd/dc3dd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/dc3dd/dc3dd.SlackBuild')
-rwxr-xr-xsource/ap/dc3dd/dc3dd.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ap/dc3dd/dc3dd.SlackBuild b/source/ap/dc3dd/dc3dd.SlackBuild
index 6dbd0e7cb..254a1220a 100755
--- a/source/ap/dc3dd/dc3dd.SlackBuild
+++ b/source/ap/dc3dd/dc3dd.SlackBuild
@@ -74,9 +74,9 @@ cd $PKGNAM-$VERSION
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 {} \+
zcat $CWD/dc3dd.glibc228.diff.gz | patch -p1 --verbose || exit 1
@@ -98,7 +98,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man || exit 1
- 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
)
@@ -107,7 +107,7 @@ cp -a \
AUTHORS COPYING* ChangeLog INSTALL NEWS* Options_Reference.txt \
README* Sample_Commands.txt THANKS THANKS-to-translators TODO \
$PKG/usr/doc/$PKGNAM-$VERSION
-find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 644 {} \;
+find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 644 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc