summaryrefslogtreecommitdiff
path: root/pcr/otf-stix/otf-stix.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-16 01:41:16 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-16 01:41:16 -0300
commit0ae0a864efad1e79e4737306cee8920ae92af29a (patch)
tree9291d991893a3512ef905a2ae05ba216f2da2d40 /pcr/otf-stix/otf-stix.install
parent1547d23a0eed403e1caa7d8d6290afe2f36ad5d8 (diff)
parenta831471210e19b14af0f4633aa44c7368ecae83f (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
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
+}
+