aboutsummaryrefslogtreecommitdiff
path: root/system/ttf-ipaex/doinst.sh
diff options
context:
space:
mode:
authorpomfland <pomfland@tfwno.gf>2018-09-20 19:44:01 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-20 19:44:01 +0100
commit23c2c7989529dbaef1240e9a1966be8138ef6ab2 (patch)
tree1ee400ea0ba9c4d794bc7efc537edb6ccc125c73 /system/ttf-ipaex/doinst.sh
parentde8630282761e3e7bef4dcf48d236b4b83a9a689 (diff)
system/ttf-ipaex: Added (Japanese fonts by IPA).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ttf-ipaex/doinst.sh')
-rw-r--r--system/ttf-ipaex/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-ipaex/doinst.sh b/system/ttf-ipaex/doinst.sh
new file mode 100644
index 0000000000000..8fec9f5340068
--- /dev/null
+++ b/system/ttf-ipaex/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