aboutsummaryrefslogtreecommitdiffstats
path: root/x11/font-daewoo-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11/font-daewoo-misc')
-rw-r--r--x11/font-daewoo-misc/font-daewoo-misc.post-install8
l---------x11/font-daewoo-misc/font-daewoo-misc.post-upgrade1
2 files changed, 9 insertions, 0 deletions
diff --git a/x11/font-daewoo-misc/font-daewoo-misc.post-install b/x11/font-daewoo-misc/font-daewoo-misc.post-install
new file mode 100644
index 0000000000..887dedc802
--- /dev/null
+++ b/x11/font-daewoo-misc/font-daewoo-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."
+
diff --git a/x11/font-daewoo-misc/font-daewoo-misc.post-upgrade b/x11/font-daewoo-misc/font-daewoo-misc.post-upgrade
new file mode 120000
index 0000000000..cba2bf1f02
--- /dev/null
+++ b/x11/font-daewoo-misc/font-daewoo-misc.post-upgrade
@@ -0,0 +1 @@
+font-daewoo-misc.post-install \ No newline at end of file