summaryrefslogtreecommitdiff
path: root/pcr/ttf-asana-math/ttf-asana-math.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ttf-asana-math/ttf-asana-math.install')
-rw-r--r--pcr/ttf-asana-math/ttf-asana-math.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/ttf-asana-math/ttf-asana-math.install b/pcr/ttf-asana-math/ttf-asana-math.install
new file mode 100644
index 000000000..506595662
--- /dev/null
+++ b/pcr/ttf-asana-math/ttf-asana-math.install
@@ -0,0 +1,11 @@
+ 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
+} \ No newline at end of file