summaryrefslogtreecommitdiff
path: root/pcr/otf-stix/otf-stix.install
diff options
context:
space:
mode:
authorAlon Ivtsan <alonivtsan@lavabit.com>2013-07-16 07:26:22 +0300
committerAlon Ivtsan <alonivtsan@lavabit.com>2013-07-16 07:26:22 +0300
commit96aecc51358bf2489385d22e6c13e48f0ad749ef (patch)
tree8db64fc18d578a8bcadae5d0eed1cca447d0b376 /pcr/otf-stix/otf-stix.install
parent7140c2f9c297a55a5f90aeb430d6f74ad2b9b1fc (diff)
downloadabslibre-96aecc51358bf2489385d22e6c13e48f0ad749ef.tar.gz
abslibre-96aecc51358bf2489385d22e6c13e48f0ad749ef.tar.bz2
abslibre-96aecc51358bf2489385d22e6c13e48f0ad749ef.zip
Adding otf-stix PKGBUILD and install file
Diffstat (limited to 'pcr/otf-stix/otf-stix.install')
-rw-r--r--pcr/otf-stix/otf-stix.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/otf-stix/otf-stix.install b/pcr/otf-stix/otf-stix.install
new file mode 100644
index 000000000..5d66bc226
--- /dev/null
+++ b/pcr/otf-stix/otf-stix.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+