summaryrefslogtreecommitdiffstats
path: root/audio/ff8dls/ff8dls.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-11-27 15:47:26 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:09:03 +0700
commitdd6f5d52a197915a882f69f065ed8904f63c06ab (patch)
treef6c25544baf4e851e34d948902802ce2a9176ccd /audio/ff8dls/ff8dls.SlackBuild
parentcfbdc5e9e1b5e472507d7384d3a6d64bb91f6713 (diff)
downloadslackbuilds-dd6f5d52a197915a882f69f065ed8904f63c06ab.tar.gz
slackbuilds-dd6f5d52a197915a882f69f065ed8904f63c06ab.tar.xz
audio/ff8dls: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ff8dls/ff8dls.SlackBuild')
-rw-r--r--audio/ff8dls/ff8dls.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/audio/ff8dls/ff8dls.SlackBuild b/audio/ff8dls/ff8dls.SlackBuild
index fe27cac81f..fb69f15dff 100644
--- a/audio/ff8dls/ff8dls.SlackBuild
+++ b/audio/ff8dls/ff8dls.SlackBuild
@@ -19,9 +19,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# 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
@@ -48,11 +45,8 @@ cd $PRGNAM-$VERSION
unzip -LL $CWD/$ZIPFILE $PRGNAM.exe readme.txt
unrar x -cl $PRGNAM.exe
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 640 -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 {} \+
# By analogy with fluid-soundfont's /usr/share/sounds/sf2...
mkdir -p $PKG/usr/share/sounds/dls