summaryrefslogtreecommitdiffstats
path: root/system/ttf-console-fonts
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-08-22 17:47:30 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:35 +0700
commit6d81bd68f3e1c3d95de7a36130a24a9d99441f81 (patch)
tree02328fdd8767824c157089101e48b695465a44a2 /system/ttf-console-fonts
parentcb0255854775f7e5f9eec23aed4edd4675115395 (diff)
downloadslackbuilds-6d81bd68f3e1c3d95de7a36130a24a9d99441f81.tar.gz
slackbuilds-6d81bd68f3e1c3d95de7a36130a24a9d99441f81.tar.xz
system/ttf-console-fonts: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-console-fonts')
-rw-r--r--system/ttf-console-fonts/ttf-console-fonts.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/system/ttf-console-fonts/ttf-console-fonts.SlackBuild b/system/ttf-console-fonts/ttf-console-fonts.SlackBuild
index 40e6481a5f..1ac189d590 100644
--- a/system/ttf-console-fonts/ttf-console-fonts.SlackBuild
+++ b/system/ttf-console-fonts/ttf-console-fonts.SlackBuild
@@ -16,9 +16,6 @@ PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# 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
@@ -37,11 +34,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 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 {} \+
make install DESTDIR=$PKG