summarylogtreecommitdiffstats
path: root/ttf-malayalam-fonts.install
diff options
context:
space:
mode:
authorR Daneel2015-07-23 22:32:20 +0800
committerR Daneel2015-07-23 22:32:20 +0800
commit17bd9857392bec8312e83167fe66d121ca91b84a (patch)
tree561534ad938336fd104dcb666efdc8db496e7f7a /ttf-malayalam-fonts.install
downloadaur-17bd9857392bec8312e83167fe66d121ca91b84a.tar.gz
Initial import from AUR
Diffstat (limited to 'ttf-malayalam-fonts.install')
-rwxr-xr-xttf-malayalam-fonts.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-malayalam-fonts.install b/ttf-malayalam-fonts.install
new file mode 100755
index 000000000000..26e912fe9c2c
--- /dev/null
+++ b/ttf-malayalam-fonts.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo "Running fc-cache to update font cache"
+ fc-cache -fs
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+ echo "Finished updating font cache"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}