summaryrefslogtreecommitdiffstats
path: root/abs/extra/ttf-freefont/install
diff options
context:
space:
mode:
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
+}
+