summaryrefslogtreecommitdiff
path: root/source/x/ttf-indic-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/ttf-indic-fonts')
-rw-r--r--source/x/ttf-indic-fonts/doinst.sh8
-rwxr-xr-xsource/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild2
2 files changed, 4 insertions, 6 deletions
diff --git a/source/x/ttf-indic-fonts/doinst.sh b/source/x/ttf-indic-fonts/doinst.sh
index 2566f24f..e08ddade 100644
--- a/source/x/ttf-indic-fonts/doinst.sh
+++ b/source/x/ttf-indic-fonts/doinst.sh
@@ -1,12 +1,10 @@
#!/bin/sh
# Update mkfontscale and mkfontdir:
if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/TTF
- mkfontscale .
- mkfontdir .
- )
+ mkfontscale usr/share/fonts/TTF 2> /dev/null
+ mkfontdir usr/share/fonts/TTF 2> /dev/null
fi
# Update the X font indexes:
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/ttf-indic-fonts/ttf-indic-fonts.SlackBuild b/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild
index 249446df..4fdc4408 100755
--- a/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild
+++ b/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ttf-indic-fonts
VERSION=0.5.14
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