summaryrefslogtreecommitdiffstats
path: root/x11/font-misc-ethiopic
diff options
context:
space:
mode:
Diffstat (limited to 'x11/font-misc-ethiopic')
-rw-r--r--x11/font-misc-ethiopic/font-misc-ethiopic.post-install8
l---------x11/font-misc-ethiopic/font-misc-ethiopic.post-upgrade1
2 files changed, 9 insertions, 0 deletions
diff --git a/x11/font-misc-ethiopic/font-misc-ethiopic.post-install b/x11/font-misc-ethiopic/font-misc-ethiopic.post-install
new file mode 100644
index 00000000..ebd2bbfa
--- /dev/null
+++ b/x11/font-misc-ethiopic/font-misc-ethiopic.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/ethiopic
+mkfontdir /usr/share/fonts/ethiopic
+echo "done."
+
diff --git a/x11/font-misc-ethiopic/font-misc-ethiopic.post-upgrade b/x11/font-misc-ethiopic/font-misc-ethiopic.post-upgrade
new file mode 120000
index 00000000..cf8f78d4
--- /dev/null
+++ b/x11/font-misc-ethiopic/font-misc-ethiopic.post-upgrade
@@ -0,0 +1 @@
+font-misc-ethiopic.post-install \ No newline at end of file