summarylogtreecommitdiffstats
path: root/ttf-keep-calm-medium.install
diff options
context:
space:
mode:
authortrash2015-08-25 12:46:49 +0200
committertrash2015-08-25 12:46:49 +0200
commitc64ab22d1ce9389aff8816e8fb1e51ea0a8f4fb6 (patch)
tree10e756ec41095dac38b536aee311c9605843a8fd /ttf-keep-calm-medium.install
downloadaur-ttf-keep-calm-medium.tar.gz
Initial commit
Diffstat (limited to 'ttf-keep-calm-medium.install')
-rw-r--r--ttf-keep-calm-medium.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-keep-calm-medium.install b/ttf-keep-calm-medium.install
new file mode 100644
index 000000000000..c2f11b1d7317
--- /dev/null
+++ b/ttf-keep-calm-medium.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache >/dev/null -f
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo done
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}