summarylogtreecommitdiffstats
path: root/ttf-comic-neue.install
diff options
context:
space:
mode:
authorThomas Haider2015-06-18 19:05:17 +0200
committerThomas Haider2015-06-18 19:05:17 +0200
commit0847ca208c622b1ed1c16574f3af0008ef788433 (patch)
tree179ffc21efc49e5f94630dfc4bcdc067781282e2 /ttf-comic-neue.install
downloadaur-0847ca208c622b1ed1c16574f3af0008ef788433.tar.gz
import from old AUR
Diffstat (limited to 'ttf-comic-neue.install')
-rw-r--r--ttf-comic-neue.install15
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"
+}