summaryrefslogtreecommitdiffstats
path: root/x11/font-jis-misc/font-jis-misc.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'x11/font-jis-misc/font-jis-misc.post-install')
-rw-r--r--x11/font-jis-misc/font-jis-misc.post-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/font-jis-misc/font-jis-misc.post-install b/x11/font-jis-misc/font-jis-misc.post-install
new file mode 100644
index 00000000..887dedc8
--- /dev/null
+++ b/x11/font-jis-misc/font-jis-misc.post-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo -n "Updating font cache (TODO: implement triggers in apk)... "
+fc-cache -f > /dev/null
+mkfontscale /usr/share/fonts/75dpi
+mkfontdir /usr/share/fonts/75dpi
+echo "done."
+