summarylogtreecommitdiffstats
path: root/ttf-brill.install
diff options
context:
space:
mode:
authorManuel2015-07-25 03:16:00 +0200
committerManuel2015-07-25 03:16:00 +0200
commit28e16288759a0e00e35d71bbc1e8d22892de256c (patch)
tree18a0dec91a016e29ef253a30b4b8f297e97f451b /ttf-brill.install
downloadaur-28e16288759a0e00e35d71bbc1e8d22892de256c.tar.gz
Initial import
Diffstat (limited to 'ttf-brill.install')
-rw-r--r--ttf-brill.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-brill.install b/ttf-brill.install
new file mode 100644
index 000000000000..ac8bc4757347
--- /dev/null
+++ b/ttf-brill.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/ttf-brill
+ mkfontdir /usr/share/fonts/ttf-brill
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}