summaryrefslogtreecommitdiffstats
path: root/source/x/wqy-zenhei-font-ttf
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/wqy-zenhei-font-ttf')
-rwxr-xr-xsource/x/wqy-zenhei-font-ttf/wqy-zenhei-font-ttf.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/x/wqy-zenhei-font-ttf/wqy-zenhei-font-ttf.SlackBuild b/source/x/wqy-zenhei-font-ttf/wqy-zenhei-font-ttf.SlackBuild
index a61d6f0da..9f075e577 100755
--- a/source/x/wqy-zenhei-font-ttf/wqy-zenhei-font-ttf.SlackBuild
+++ b/source/x/wqy-zenhei-font-ttf/wqy-zenhei-font-ttf.SlackBuild
@@ -39,7 +39,7 @@ SRCNAM=wqy-zenhei
VERSION=${VERSION:-0.8.38}
SUB=${SUB:-1}
ARCH=noarch
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
# 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
@@ -118,11 +118,11 @@ cat << EOT > $PKG/install/doinst.sh
# does the same thing, saving time.
# Update X font indexes and the font cache:
if [ -x /usr/bin/mkfontdir ]; then
- /usr/bin/mkfontscale $FONTDIR
- /usr/bin/mkfontdir $FONTDIR
+ /usr/bin/mkfontscale $FONTDIR 2> /dev/null
+ /usr/bin/mkfontdir $FONTDIR 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache $FONTDIR
+ /usr/bin/fc-cache $FONTDIR 2> /dev/null
fi
EOT