summaryrefslogtreecommitdiffstats
path: root/source/ap/ghostscript-fonts-std
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/ghostscript-fonts-std')
-rw-r--r--source/ap/ghostscript-fonts-std/doinst.sh12
-rwxr-xr-xsource/ap/ghostscript-fonts-std/ghostscript-fonts-std.SlackBuild2
2 files changed, 6 insertions, 8 deletions
diff --git a/source/ap/ghostscript-fonts-std/doinst.sh b/source/ap/ghostscript-fonts-std/doinst.sh
index 3d8d40100..b48dde353 100644
--- a/source/ap/ghostscript-fonts-std/doinst.sh
+++ b/source/ap/ghostscript-fonts-std/doinst.sh
@@ -1,11 +1,9 @@
#!/bin/sh
# Update the X font indexes:
-if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache -f
-fi
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/Type1
- mkfontdir .
- mkfontscale .
- )
+ mkfontdir usr/share/fonts/Type1 2> /dev/null
+ mkfontscale usr/share/fonts/Type1 2> /dev/null
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f 2> /dev/null
fi
diff --git a/source/ap/ghostscript-fonts-std/ghostscript-fonts-std.SlackBuild b/source/ap/ghostscript-fonts-std/ghostscript-fonts-std.SlackBuild
index 5b64f4952..27c83a353 100755
--- a/source/ap/ghostscript-fonts-std/ghostscript-fonts-std.SlackBuild
+++ b/source/ap/ghostscript-fonts-std/ghostscript-fonts-std.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ghostscript-fonts-std
VERSION=${VERSION:-8.11}
ARCH=${ARCH:-noarch}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# 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