summarylogtreecommitdiffstats
path: root/ttf-meslo.install
diff options
context:
space:
mode:
authorpzl2015-08-08 11:59:03 -0400
committerpzl2015-08-08 11:59:03 -0400
commite2afdb31ec6bf6e2f36f817a711016f39c352d6a (patch)
tree5641d15abaa3ca0a0c243391c60ea41c1c1ac141 /ttf-meslo.install
downloadaur-e2afdb31ec6bf6e2f36f817a711016f39c352d6a.tar.gz
move package into aur4/git
Diffstat (limited to 'ttf-meslo.install')
-rw-r--r--ttf-meslo.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/ttf-meslo.install b/ttf-meslo.install
new file mode 100644
index 000000000000..2dc1d4132ca5
--- /dev/null
+++ b/ttf-meslo.install
@@ -0,0 +1,17 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f -s > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: