summaryrefslogtreecommitdiffstats
path: root/source/x/urw-core35-fonts-otf
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/urw-core35-fonts-otf')
-rw-r--r--source/x/urw-core35-fonts-otf/doinst.sh8
-rwxr-xr-xsource/x/urw-core35-fonts-otf/urw-core35-fonts-otf.SlackBuild2
2 files changed, 4 insertions, 6 deletions
diff --git a/source/x/urw-core35-fonts-otf/doinst.sh b/source/x/urw-core35-fonts-otf/doinst.sh
index 0c434b5ae..8ebd90a77 100644
--- a/source/x/urw-core35-fonts-otf/doinst.sh
+++ b/source/x/urw-core35-fonts-otf/doinst.sh
@@ -1,11 +1,9 @@
#!/bin/sh
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/OTF
- mkfontscale .
- mkfontdir .
- )
+ mkfontscale usr/share/fonts/OTF 2> /dev/null
+ mkfontdir usr/share/fonts/OTF 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache -f
+ /usr/bin/fc-cache -f 2> /dev/null
fi
diff --git a/source/x/urw-core35-fonts-otf/urw-core35-fonts-otf.SlackBuild b/source/x/urw-core35-fonts-otf/urw-core35-fonts-otf.SlackBuild
index fb19026fe..9a7f9e815 100755
--- a/source/x/urw-core35-fonts-otf/urw-core35-fonts-otf.SlackBuild
+++ b/source/x/urw-core35-fonts-otf/urw-core35-fonts-otf.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=urw-core35-fonts-otf
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# 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