summarylogtreecommitdiffstats
path: root/office-code-pro.install
diff options
context:
space:
mode:
Diffstat (limited to 'office-code-pro.install')
-rw-r--r--office-code-pro.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/office-code-pro.install b/office-code-pro.install
new file mode 100644
index 000000000000..79c6030606fa
--- /dev/null
+++ b/office-code-pro.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo Updating font cache...
+ fc-cache >/dev/null -f
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}