summarylogtreecommitdiffstats
path: root/otf-fandol.install
diff options
context:
space:
mode:
Diffstat (limited to 'otf-fandol.install')
-rw-r--r--otf-fandol.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/otf-fandol.install b/otf-fandol.install
new file mode 100644
index 000000000000..4b77955a6a4f
--- /dev/null
+++ b/otf-fandol.install
@@ -0,0 +1,13 @@
+post_install()
+{
+ echo -n "Updating font cache..."
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done"
+}
+
+post_upgrade()
+{
+ post_install
+}