summarylogtreecommitdiffstats
path: root/equestria-fonts.install
diff options
context:
space:
mode:
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
+}
+