summarylogtreecommitdiffstats
path: root/ttf-genshin-gothic.install
diff options
context:
space:
mode:
authorpitan2017-02-07 12:30:02 +0900
committerpitan2017-02-07 12:30:02 +0900
commit19abb8614742809b40a1281bf90ae8120b2c38af (patch)
treefd11d9640fd2fb0683ec6943d4f038d8664885dc /ttf-genshin-gothic.install
downloadaur-19abb8614742809b40a1281bf90ae8120b2c38af.tar.gz
Initial import
Diffstat (limited to 'ttf-genshin-gothic.install')
-rw-r--r--ttf-genshin-gothic.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-genshin-gothic.install b/ttf-genshin-gothic.install
new file mode 100644
index 000000000000..44f7f11ea4c7
--- /dev/null
+++ b/ttf-genshin-gothic.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache >/dev/null -f
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}