summarylogtreecommitdiffstats
path: root/ttf-clear-sans.install
diff options
context:
space:
mode:
authorPatrick McCarty2015-06-08 20:31:22 -0700
committerPatrick McCarty2015-06-08 20:31:57 -0700
commit84bc2b971e94c34cca88d21945c2bb6d3ff4632a (patch)
treef885088a55270f1704d570d72c2356d1469af5cc /ttf-clear-sans.install
downloadaur-84bc2b971e94c34cca88d21945c2bb6d3ff4632a.tar.gz
Initial import
Diffstat (limited to 'ttf-clear-sans.install')
-rw-r--r--ttf-clear-sans.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-clear-sans.install b/ttf-clear-sans.install
new file mode 100644
index 000000000000..d7f2cbc1617c
--- /dev/null
+++ b/ttf-clear-sans.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}