aboutsummaryrefslogtreecommitdiffstats
path: root/x11/font-bitstream-75dpi/font-bitstream-75dpi.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-26 21:13:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-26 21:13:57 +0000
commitba3bbdb60846d61ed74afc6666cf3913a44549e0 (patch)
tree09e7760b504d3984781d8afefd8972d23b62e813 /x11/font-bitstream-75dpi/font-bitstream-75dpi.post-install
parent6dd7082b13fe961f7f891a7e282cdcd4c0977bc9 (diff)
downloadaports-ba3bbdb60846d61ed74afc6666cf3913a44549e0.tar.bz2
aports-ba3bbdb60846d61ed74afc6666cf3913a44549e0.tar.xz
x11/font-bitstream-75dpi: new aport
Diffstat (limited to 'x11/font-bitstream-75dpi/font-bitstream-75dpi.post-install')
-rw-r--r--x11/font-bitstream-75dpi/font-bitstream-75dpi.post-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11/font-bitstream-75dpi/font-bitstream-75dpi.post-install b/x11/font-bitstream-75dpi/font-bitstream-75dpi.post-install
new file mode 100644
index 0000000000..887dedc802
--- /dev/null
+++ b/x11/font-bitstream-75dpi/font-bitstream-75dpi.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."
+