summaryrefslogtreecommitdiff
path: root/pcr/ttf-asana-math/ttf-asana-math.install
diff options
context:
space:
mode:
authorAlon Ivtsan <alonivtsan@lavabit.com>2013-07-16 07:31:24 +0300
committerAlon Ivtsan <alonivtsan@lavabit.com>2013-07-16 07:31:24 +0300
commit1fcae56d364f1c0d7b527c5386f17711e98b732e (patch)
treeb1c12bae364eb958b56333992e55a4e8a810b762 /pcr/ttf-asana-math/ttf-asana-math.install
parent96aecc51358bf2489385d22e6c13e48f0ad749ef (diff)
downloadabslibre-1fcae56d364f1c0d7b527c5386f17711e98b732e.tar.gz
abslibre-1fcae56d364f1c0d7b527c5386f17711e98b732e.tar.bz2
abslibre-1fcae56d364f1c0d7b527c5386f17711e98b732e.zip
Adding ttf-asana-math PKGBUILD and install file
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