summarylogtreecommitdiffstats
path: root/noto-fonts-sc.install
diff options
context:
space:
mode:
authorhalflife2016-04-12 19:18:32 +0800
committerhalflife2016-04-12 19:18:32 +0800
commit628c495a28420ddcf273a01131d3a6c390b898b5 (patch)
treeded26c81be55dad35d7cc7a52c7e94bf27414e45 /noto-fonts-sc.install
downloadaur-628c495a28420ddcf273a01131d3a6c390b898b5.tar.gz
20150617
Diffstat (limited to 'noto-fonts-sc.install')
-rw-r--r--noto-fonts-sc.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/noto-fonts-sc.install b/noto-fonts-sc.install
new file mode 100644
index 000000000000..477228553e82
--- /dev/null
+++ b/noto-fonts-sc.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
+}
+
+post_remove() {
+ post_install
+}