summarylogtreecommitdiffstats
path: root/otf-unscii-8-fantasy.install
diff options
context:
space:
mode:
Diffstat (limited to 'otf-unscii-8-fantasy.install')
-rw-r--r--otf-unscii-8-fantasy.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/otf-unscii-8-fantasy.install b/otf-unscii-8-fantasy.install
new file mode 100644
index 000000000000..4e1a9593cef1
--- /dev/null
+++ b/otf-unscii-8-fantasy.install
@@ -0,0 +1,15 @@
+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 $1
+}
+
+post_remove() {
+ post_install $1
+}