summarylogtreecommitdiffstats
path: root/ttf-rounded-mplus.install
diff options
context:
space:
mode:
authorboronology2015-06-08 19:30:44 +0900
committerboronology2015-06-08 19:30:44 +0900
commit6f88f7a42d561fbce302323fa59f89da2a53a710 (patch)
treed359657b026982aca43649caa1a9a24973aaac65 /ttf-rounded-mplus.install
downloadaur-6f88f7a42d561fbce302323fa59f89da2a53a710.tar.gz
initial import
Diffstat (limited to 'ttf-rounded-mplus.install')
-rw-r--r--ttf-rounded-mplus.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/ttf-rounded-mplus.install b/ttf-rounded-mplus.install
new file mode 100644
index 00000000000..eec0b9d326f
--- /dev/null
+++ b/ttf-rounded-mplus.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Upgradeing 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
+}
+