aboutsummaryrefslogtreecommitdiff
path: root/system/lxgw-wenkai-tc-fonts/doinst.sh
diff options
context:
space:
mode:
authorltlnx <ltlnx.tw@gmail.com>2023-01-24 04:58:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-28 08:23:01 +0700
commit9f91b80fd4e511f62eb1572556c9efac51296018 (patch)
treed7bf84ebd207e89ed59b7e07ff4868c72b022667 /system/lxgw-wenkai-tc-fonts/doinst.sh
parent00c714533552b77e8cf1daffdf191194728170ea (diff)
system/lxgw-wenkai-tc-fonts: Added (font derived from Klee One)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lxgw-wenkai-tc-fonts/doinst.sh')
-rw-r--r--system/lxgw-wenkai-tc-fonts/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/lxgw-wenkai-tc-fonts/doinst.sh b/system/lxgw-wenkai-tc-fonts/doinst.sh
new file mode 100644
index 000000000000..883c47ac0a60
--- /dev/null
+++ b/system/lxgw-wenkai-tc-fonts/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi