summarylogtreecommitdiffstats
path: root/equestria-fonts.install
diff options
context:
space:
mode:
authorSchala2015-06-08 10:00:08 -0700
committerSchala2015-06-08 10:00:08 -0700
commit844f8198d72ff824cd5ee565e62accbf6b7b59f6 (patch)
tree8bbf2dfe3495aaa8339977d7b17fba356fc6258a /equestria-fonts.install
downloadaur-844f8198d72ff824cd5ee565e62accbf6b7b59f6.tar.gz
init
Diffstat (limited to 'equestria-fonts.install')
-rw-r--r--equestria-fonts.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/equestria-fonts.install b/equestria-fonts.install
new file mode 100644
index 00000000000..46a2f95fffd
--- /dev/null
+++ b/equestria-fonts.install
@@ -0,0 +1,14 @@
+post_install()
+{
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
+ echo "done"
+}
+
+post_upgrade()
+{
+ post_install
+}
+