summarylogtreecommitdiffstats
path: root/noto-fonts-tc.install
diff options
context:
space:
mode:
authorAriel Dabalsa2016-12-28 14:06:16 -0500
committerAriel Dabalsa2016-12-28 14:06:16 -0500
commit42a7d2cd3ea0387d2f9bbe19a2bd8473e2bcf5a5 (patch)
tree6a8a20ee4a5b26e691aa29c7729978c14dd97adb /noto-fonts-tc.install
downloadaur-42a7d2cd3ea0387d2f9bbe19a2bd8473e2bcf5a5.tar.gz
Init
Diffstat (limited to 'noto-fonts-tc.install')
-rw-r--r--noto-fonts-tc.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/noto-fonts-tc.install b/noto-fonts-tc.install
new file mode 100644
index 000000000000..477228553e82
--- /dev/null
+++ b/noto-fonts-tc.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
+}