summaryrefslogtreecommitdiffstats
path: root/x11/font-micro-misc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-02 13:00:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-02 13:00:37 +0000
commit7bd5fd578c2b2910e57b087facbf573f83d59f5a (patch)
treebaf8ede658f58bf6b594047c47b58d85da377bf0 /x11/font-micro-misc
parent8034e2ee3fdd185f6c38b45e42f20bd5d8c335ac (diff)
downloadaports-7bd5fd578c2b2910e57b087facbf573f83d59f5a.tar.bz2
aports-7bd5fd578c2b2910e57b087facbf573f83d59f5a.tar.xz
x11/font-*-misc: added missing post-{install,upgrade} scripts
Diffstat (limited to 'x11/font-micro-misc')
-rw-r--r--x11/font-micro-misc/font-micro-misc.post-install8
l---------x11/font-micro-misc/font-micro-misc.post-upgrade1
2 files changed, 9 insertions, 0 deletions
diff --git a/x11/font-micro-misc/font-micro-misc.post-install b/x11/font-micro-misc/font-micro-misc.post-install
new file mode 100644
index 000000000..887dedc80
--- /dev/null
+++ b/x11/font-micro-misc/font-micro-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-micro-misc/font-micro-misc.post-upgrade b/x11/font-micro-misc/font-micro-misc.post-upgrade
new file mode 120000
index 000000000..8c6b42ccb
--- /dev/null
+++ b/x11/font-micro-misc/font-micro-misc.post-upgrade
@@ -0,0 +1 @@
+font-micro-misc.post-install \ No newline at end of file