diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-02 13:00:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-02 13:00:37 +0000 |
commit | 7bd5fd578c2b2910e57b087facbf573f83d59f5a (patch) | |
tree | baf8ede658f58bf6b594047c47b58d85da377bf0 /x11/font-micro-misc | |
parent | 8034e2ee3fdd185f6c38b45e42f20bd5d8c335ac (diff) | |
download | aports-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-install | 8 | ||||
l--------- | x11/font-micro-misc/font-micro-misc.post-upgrade | 1 |
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 0000000000..887dedc802 --- /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 0000000000..8c6b42ccb1 --- /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 |