summaryrefslogtreecommitdiffstats
path: root/x11/font-misc-ethiopic
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-03 12:04:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-03 12:04:19 +0000
commit1c05e9fc3e2596e912dd7b75054f0961b77bc7b4 (patch)
treea20a42f96f9db89e66f557495ab05f5ef1f92777 /x11/font-misc-ethiopic
parent627cf2171d6f035e046c0d722e1befef294ceb00 (diff)
downloadaports-1c05e9fc3e2596e912dd7b75054f0961b77bc7b4.tar.bz2
aports-1c05e9fc3e2596e912dd7b75054f0961b77bc7b4.tar.xz
x11/font-*-*: added type1, ttf, speedo and cyrillic fonts
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 000000000..ebd2bbfad
--- /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 000000000..cf8f78d4d
--- /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