summaryrefslogtreecommitdiff
path: root/source/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild')
-rwxr-xr-xsource/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild b/source/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild
index 0fc464aa..a8254f1f 100755
--- a/source/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild
+++ b/source/x/sinhala_lklug-font-ttf/sinhala_lklug-font-ttf.SlackBuild
@@ -37,7 +37,7 @@ PKGNAM=sinhala_lklug-font-ttf
FONTNAM=sinhala_lklug
VERSION=${VERSION:-20060929}
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
@@ -88,11 +88,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