summaryrefslogtreecommitdiffstats
path: root/abs/extra/ttf-freefont/install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-25 04:19:14 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-25 04:19:14 (GMT)
commit1fefc9c7bae49375e667f684c8a7771cc9d29188 (patch)
treed582512dad469172b1dcf6991f73368dc8fa89e5 /abs/extra/ttf-freefont/install
parent5f6bb217b7e1434e7c43bf988131a4bdf8bf5276 (diff)
downloadlinhes_pkgbuild-1fefc9c7bae49375e667f684c8a7771cc9d29188.zip
linhes_pkgbuild-1fefc9c7bae49375e667f684c8a7771cc9d29188.tar.gz
linhes_pkgbuild-1fefc9c7bae49375e667f684c8a7771cc9d29188.tar.bz2
ttf-freefont: 20120503
Diffstat (limited to 'abs/extra/ttf-freefont/install')
-rw-r--r--abs/extra/ttf-freefont/install14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/ttf-freefont/install b/abs/extra/ttf-freefont/install
new file mode 100644
index 0000000..d512d69
--- /dev/null
+++ b/abs/extra/ttf-freefont/install
@@ -0,0 +1,14 @@
+post_install() {
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+