summarylogtreecommitdiffstats
path: root/ttf-rounded-mplus.install
diff options
context:
space:
mode:
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
+}
+