summaryrefslogtreecommitdiff
path: root/pcr/otf-stix/otf-stix.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/otf-stix/otf-stix.install')
-rw-r--r--pcr/otf-stix/otf-stix.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/otf-stix/otf-stix.install b/pcr/otf-stix/otf-stix.install
new file mode 100644
index 000000000..5d66bc226
--- /dev/null
+++ b/pcr/otf-stix/otf-stix.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+