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