summarylogtreecommitdiffstats
path: root/ttf.install
diff options
context:
space:
mode:
Diffstat (limited to 'ttf.install')
-rw-r--r--ttf.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/ttf.install b/ttf.install
new file mode 100644
index 000000000000..4e3f247164c8
--- /dev/null
+++ b/ttf.install
@@ -0,0 +1,13 @@
+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
+}