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