summarylogtreecommitdiffstats
path: root/ttf.install
diff options
context:
space:
mode:
authorTyler Long2019-06-18 13:21:00 -0500
committerTyler Long2019-06-18 13:21:00 -0500
commit8c4c0873369b632462da9a0641c0203f195d2ea9 (patch)
tree01e096686150d01457eae96ecdc46b523c9b6934 /ttf.install
downloadaur-ttf-bevan.tar.gz
added .SRCINFO
Diffstat (limited to 'ttf.install')
-rw-r--r--ttf.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf.install b/ttf.install
new file mode 100644
index 000000000000..baec41da9500
--- /dev/null
+++ b/ttf.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 $1
+}
+
+post_remove() {
+ post_install $1
+} \ No newline at end of file