diff options
author | Thomas Haider | 2015-06-18 19:05:17 +0200 |
---|---|---|
committer | Thomas Haider | 2015-06-18 19:05:17 +0200 |
commit | 0847ca208c622b1ed1c16574f3af0008ef788433 (patch) | |
tree | 179ffc21efc49e5f94630dfc4bcdc067781282e2 /ttf-comic-neue.install | |
download | aur-0847ca208c622b1ed1c16574f3af0008ef788433.tar.gz |
import from old AUR
Diffstat (limited to 'ttf-comic-neue.install')
-rw-r--r-- | ttf-comic-neue.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-comic-neue.install b/ttf-comic-neue.install new file mode 100644 index 000000000000..309a51b29340 --- /dev/null +++ b/ttf-comic-neue.install @@ -0,0 +1,15 @@ +post_install() { + post_remove $1 +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + echo -n "==> Rebuilding font cache... " + fc-cache -s &> /dev/null + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo "done" +} |