summarylogtreecommitdiffstats
path: root/font.install
diff options
context:
space:
mode:
authorvlad2015-07-08 15:45:03 +0300
committervlad2015-07-08 15:45:03 +0300
commitd85dcef47ee8a6ee7f3a8759ede8877f6a21dee8 (patch)
tree53317f32cd52da982329a3c1b9077dd74e524c3d /font.install
downloadaur-d85dcef47ee8a6ee7f3a8759ede8877f6a21dee8.tar.gz
Initial import
Diffstat (limited to 'font.install')
-rw-r--r--font.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/font.install b/font.install
new file mode 100644
index 000000000000..d5a636daedec
--- /dev/null
+++ b/font.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}