summaryrefslogtreecommitdiffstats
path: root/system/CNS11643-font/doinst.sh
diff options
context:
space:
mode:
author CCHsu <a12321aabb@gmail.com>2014-06-21 18:48:35 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-21 18:48:35 +0700
commitf41d295c6ecd25f258bd348dd9836f858a30e16f (patch)
treeaad64ed843b3d3f7640ab72955b3caad543da799 /system/CNS11643-font/doinst.sh
parent512a4223cd67034dfeca6440cf8cfe24bd109c81 (diff)
downloadslackbuilds-f41d295c6ecd25f258bd348dd9836f858a30e16f.tar.gz
slackbuilds-f41d295c6ecd25f258bd348dd9836f858a30e16f.tar.xz
system/CNS11643-font: Added (Chinese Ming and Kai font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/CNS11643-font/doinst.sh')
-rw-r--r--system/CNS11643-font/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/CNS11643-font/doinst.sh b/system/CNS11643-font/doinst.sh
new file mode 100644
index 0000000000..8fec9f5340
--- /dev/null
+++ b/system/CNS11643-font/doinst.sh
@@ -0,0 +1,11 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi