summaryrefslogtreecommitdiffstats
path: root/system/nanum-coding-fonts-ttf/doinst.sh
diff options
context:
space:
mode:
author Young Chol Song <nskystars@yahoo.com>2011-07-23 23:29:55 -0500
committer Niels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:34 -0300
commita562e2e28c7fa6d93c8ddfcd2730db771b16873d (patch)
treed3dc7df587634cc6d6ba87392e20861ae6412af0 /system/nanum-coding-fonts-ttf/doinst.sh
parent4561099ab32df65ddcd7e859e3f060cf67806255 (diff)
downloadslackbuilds-a562e2e28c7fa6d93c8ddfcd2730db771b16873d.tar.gz
slackbuilds-a562e2e28c7fa6d93c8ddfcd2730db771b16873d.tar.xz
system/nanum-coding-fonts-ttf: Added (Korean fixed width TrueType Fonts)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nanum-coding-fonts-ttf/doinst.sh')
-rw-r--r--system/nanum-coding-fonts-ttf/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/nanum-coding-fonts-ttf/doinst.sh b/system/nanum-coding-fonts-ttf/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/nanum-coding-fonts-ttf/doinst.sh
@@ -0,0 +1,10 @@
+# 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