aboutsummaryrefslogtreecommitdiff
path: root/system/nanum-fonts-ttf/doinst.sh
diff options
context:
space:
mode:
authorYoung Chol Song <nskystars@yahoo.com>2011-07-23 23:29:27 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:34 -0300
commit4561099ab32df65ddcd7e859e3f060cf67806255 (patch)
treec5b6248de07d2ac3ad552256b911be6db8a9fa95 /system/nanum-fonts-ttf/doinst.sh
parent6c8f0aa032de25dddd68e74804f01022a433f544 (diff)
system/nanum-fonts-ttf: Added (Korean TrueType Fonts)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nanum-fonts-ttf/doinst.sh')
-rw-r--r--system/nanum-fonts-ttf/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/nanum-fonts-ttf/doinst.sh b/system/nanum-fonts-ttf/doinst.sh
new file mode 100644
index 0000000000000..883c47ac0a60c
--- /dev/null
+++ b/system/nanum-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