aboutsummaryrefslogtreecommitdiff
path: root/system/vlock/vlock.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-09 18:02:53 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:32 +0700
commit2b2f6ed58edcf050f5396abb47ba7c09e76216a2 (patch)
tree7829df86aa0da65fdf3efb94d172978c6f22a48c /system/vlock/vlock.SlackBuild
parent8f3702bc5b5103c449e8d30fcc8855694c534ec8 (diff)
system/vlock: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vlock/vlock.SlackBuild')
-rw-r--r--system/vlock/vlock.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/system/vlock/vlock.SlackBuild b/system/vlock/vlock.SlackBuild
index 7bd943a0506ba..2032d4994aaa0 100644
--- a/system/vlock/vlock.SlackBuild
+++ b/system/vlock/vlock.SlackBuild
@@ -54,9 +54,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
@@ -91,11 +88,8 @@ rm -rf $PRGNAM-$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$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 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 {} \+
# recent libcaca in -current no longer has the compatibility symlink
# cucul.h => caca.h, so: