summarylogtreecommitdiffstats
path: root/misti.install
diff options
context:
space:
mode:
authorLara Maia2015-06-12 00:37:27 -0300
committerLara Maia2015-06-12 00:37:27 -0300
commite35718a5e20e327e48620985ef714d2084121e4c (patch)
tree232d270d3dfbabc0bd20345836ce1627a378c58f /misti.install
downloadaur-misti-fonts.tar.gz
Initial import
Diffstat (limited to 'misti.install')
-rw-r--r--misti.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/misti.install b/misti.install
new file mode 100644
index 000000000000..4f5212ef22ba
--- /dev/null
+++ b/misti.install
@@ -0,0 +1,20 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*