diff options
author | Florian Pritz <bluewind@xssn.at> | 2011-01-16 18:39:41 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2011-01-16 18:39:41 +0100 |
commit | 1caa1d5eb39e6d1b0bf96af4be1e095b31495305 (patch) | |
tree | e8a316c6168770f95125263fa9a3d196fa6d74c2 /ttf-ms-fonts/ttf-ms-fonts.install | |
parent | b7197bccd0bc74c2082c935937b6d947c3ae756d (diff) | |
download | aur-packages-1caa1d5eb39e6d1b0bf96af4be1e095b31495305.tar.gz aur-packages-1caa1d5eb39e6d1b0bf96af4be1e095b31495305.tar.xz |
mass changes
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'ttf-ms-fonts/ttf-ms-fonts.install')
-rw-r--r-- | ttf-ms-fonts/ttf-ms-fonts.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ttf-ms-fonts/ttf-ms-fonts.install b/ttf-ms-fonts/ttf-ms-fonts.install new file mode 100644 index 0000000..7d26d0c --- /dev/null +++ b/ttf-ms-fonts/ttf-ms-fonts.install @@ -0,0 +1,16 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |