summaryrefslogtreecommitdiffstats
path: root/multimedia/lsdvd
diff options
context:
space:
mode:
author B. Watson2021-09-11 02:31:59 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:52:19 +0200
commitb9f980263ba3367b5a11c9cf06d0b19849cdd4a3 (patch)
treed6e6cf9cb5f95abefd64f504d26987d994a6f733 /multimedia/lsdvd
parente93134819a7e1bf6af77e82d6f7d9c412c9b2398 (diff)
downloadslackbuilds-b9f980263ba3367b5a11c9cf06d0b19849cdd4a3.tar.gz
multimedia/lsdvd: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/lsdvd')
-rw-r--r--multimedia/lsdvd/lsdvd.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/multimedia/lsdvd/lsdvd.SlackBuild b/multimedia/lsdvd/lsdvd.SlackBuild
index f484296c6f..a0097570a0 100644
--- a/multimedia/lsdvd/lsdvd.SlackBuild
+++ b/multimedia/lsdvd/lsdvd.SlackBuild
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,11 +54,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \