summaryrefslogtreecommitdiffstats
path: root/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-26 12:57:17 +0100
committerGravatar Tom Willemse2014-01-26 12:57:17 +0100
commitbac16d5021bea59a91d1a8cf6edd0073d0f79738 (patch)
tree7089be8349d17b087149a3c3153392ca7ee09f25 /ttf-fantasque-sans-git/ttf-fantasque-sans-git.install
parent76737bb3e0f004f3c56eea3b9cb84bb419c41edc (diff)
downloadpkgbuilds-bac16d5021bea59a91d1a8cf6edd0073d0f79738.tar.gz
pkgbuilds-bac16d5021bea59a91d1a8cf6edd0073d0f79738.zip
Update ttf-fantasque-sans-git, add .install
Diffstat (limited to 'ttf-fantasque-sans-git/ttf-fantasque-sans-git.install')
-rw-r--r--ttf-fantasque-sans-git/ttf-fantasque-sans-git.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install b/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install
new file mode 100644
index 0000000..1aae7e7
--- /dev/null
+++ b/ttf-fantasque-sans-git/ttf-fantasque-sans-git.install
@@ -0,0 +1,15 @@
+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
+}
+
+post_remove() {
+ post_install
+}