summaryrefslogtreecommitdiff
path: root/system/dina-font
diff options
context:
space:
mode:
Diffstat (limited to 'system/dina-font')
-rw-r--r--system/dina-font/README21
-rw-r--r--system/dina-font/dina-font.SlackBuild10
2 files changed, 13 insertions, 18 deletions
diff --git a/system/dina-font/README b/system/dina-font/README
index db843e934a..3335053618 100644
--- a/system/dina-font/README
+++ b/system/dina-font/README
@@ -4,17 +4,18 @@ Dina is a monospace bitmap font, primarily aimed at programmers. It is
relatively compact to allow a lot of code on screen while clear enough
to remain readable even at high resolutions.
-After the package is installed, X applications using fontconfig will be
-able to use the Dina fonts right away. To make them visible to old-style X
-apps (such as xterm), run "xset fp rehash" in your X session. After that,
-try e.g. "xterm -fn Dina_10" (Dina_6, Dina_8, Dina_9 are also available).
+After the package is installed, X applications using fontconfig will
+be able to use the Dina fonts right away. To make them visible to
+old-style X apps (such as xterm), run "xset fp rehash" in your X
+session. After that, try e.g. "xterm -fn Dina_10" (Dina_6, Dina_8,
+Dina_9 are also available).
Optionally, console fonts can be included in the package. To do this,
-install psftools before running this SlackBuild. To view the fonts, use
-e.g. "setfont Dina_10" (or Dina_6, Dina_8, Dina_9). To use as the system
-default, edit /etc/rc.d/rc.font and change the setfont line there. Don't
-forget that rc.font needs to be executable.
+install psftools before running this SlackBuild. To view the fonts,
+use e.g. "setfont Dina_10" (or Dina_6, Dina_8, Dina_9). To use as the
+system default, edit /etc/rc.d/rc.font and change the setfont line
+there. Don't forget that rc.font needs to be executable.
The X11 fonts use the Windows-1252 character set (compatible with
-Latin-1). The console fonts are available in Windows-1252, codepage 437,
-and codepage 850.
+Latin-1). The console fonts are available in Windows-1252, codepage
+437, and codepage 850.
diff --git a/system/dina-font/dina-font.SlackBuild b/system/dina-font/dina-font.SlackBuild
index 7f775d130a..a610c9116a 100644
--- a/system/dina-font/dina-font.SlackBuild
+++ b/system/dina-font/dina-font.SlackBuild
@@ -58,9 +58,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
@@ -82,11 +79,8 @@ mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip $CWD/$SRCNAM-$VERSION.zip
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 {} \+
mkdir -p $PKG/usr/share/fonts/misc