summarylogtreecommitdiffstats
path: root/otf-unscii-8-tall.install
diff options
context:
space:
mode:
authorEvgeni Kunev2016-02-02 10:54:14 +0200
committerEvgeni Kunev2016-02-02 11:19:52 +0200
commit5b827b3a82916e6b70df659f31de9cbe05a47a71 (patch)
treec1cc94b7871f459914af845fdbf813fa77aa3059 /otf-unscii-8-tall.install
downloadaur-otf-unscii-8-tall.tar.gz
Initial commit
Diffstat (limited to 'otf-unscii-8-tall.install')
-rw-r--r--otf-unscii-8-tall.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/otf-unscii-8-tall.install b/otf-unscii-8-tall.install
new file mode 100644
index 000000000000..4e1a9593cef1
--- /dev/null
+++ b/otf-unscii-8-tall.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs > /dev/null
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}