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