summarylogtreecommitdiffstats
path: root/otf-unscii-8-mcr.install
diff options
context:
space:
mode:
authorEvgeni Kunev2016-02-02 11:00:11 +0200
committerEvgeni Kunev2016-02-02 11:24:20 +0200
commitc2523b1b7987c9650810a82ddd4cc26997335600 (patch)
tree5b7a5638e00bfa2951ec28ea0eb77d05933d2ae7 /otf-unscii-8-mcr.install
downloadaur-c2523b1b7987c9650810a82ddd4cc26997335600.tar.gz
Initial commit
Diffstat (limited to 'otf-unscii-8-mcr.install')
-rw-r--r--otf-unscii-8-mcr.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/otf-unscii-8-mcr.install b/otf-unscii-8-mcr.install
new file mode 100644
index 000000000000..4e1a9593cef1
--- /dev/null
+++ b/otf-unscii-8-mcr.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
+}