summarylogtreecommitdiffstats
path: root/ttf-lklug.install
diff options
context:
space:
mode:
Diffstat (limited to 'ttf-lklug.install')
-rw-r--r--ttf-lklug.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/ttf-lklug.install b/ttf-lklug.install
new file mode 100644
index 000000000000..80e487f69895
--- /dev/null
+++ b/ttf-lklug.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install
+}