aboutsummaryrefslogtreecommitdiffstats
path: root/x11/font-arabic-misc/font-arabic-misc.post-install
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-arabic-misc/font-arabic-misc.post-install
parent8034e2ee3fdd185f6c38b45e42f20bd5d8c335ac (diff)
downloadaports-7bd5fd578c2b2910e57b087facbf573f83d59f5a.tar.bz2
aports-7bd5fd578c2b2910e57b087facbf573f83d59f5a.tar.xz
x11/font-*-misc: added missing post-{install,upgrade} scripts
Diffstat (limited to 'x11/font-arabic-misc/font-arabic-misc.post-install')
-rw-r--r--x11/font-arabic-misc/font-arabic-misc.post-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/font-arabic-misc/font-arabic-misc.post-install b/x11/font-arabic-misc/font-arabic-misc.post-install
new file mode 100644
index 0000000000..887dedc802
--- /dev/null
+++ b/x11/font-arabic-misc/font-arabic-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."
+