summarylogtreecommitdiffstats
path: root/office-code-pro.install
diff options
context:
space:
mode:
authorJavier Tia2015-07-27 21:53:55 -0600
committerJavier Tia2015-07-27 21:53:55 -0600
commitaeb19be0403a624318df9fd7a33a0fb9cb13ca0f (patch)
tree882f40c3b96f69429f809b41f8297922b2875785 /office-code-pro.install
downloadaur-aeb19be0403a624318df9fd7a33a0fb9cb13ca0f.tar.gz
Initial Office Code Pro package release
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
+}