summarylogtreecommitdiffstats
path: root/otf-fandol.install
diff options
context:
space:
mode:
authorIru Cai2016-08-16 21:53:10 +0800
committerIru Cai2016-08-16 21:53:10 +0800
commita408ef7a2c6125ab90b6e7f36532b55d16f19d21 (patch)
treef0eb9e720c8d1e228a8c9c92ee7991b12d1e7b72 /otf-fandol.install
downloadaur-a408ef7a2c6125ab90b6e7f36532b55d16f19d21.tar.gz
otf-fandol: initial commit
Diffstat (limited to 'otf-fandol.install')
-rw-r--r--otf-fandol.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/otf-fandol.install b/otf-fandol.install
new file mode 100644
index 000000000000..4b77955a6a4f
--- /dev/null
+++ b/otf-fandol.install
@@ -0,0 +1,13 @@
+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
+}