aboutsummaryrefslogtreecommitdiff
path: root/system/oldschool-pc-fonts/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/oldschool-pc-fonts/doinst.sh')
-rw-r--r--system/oldschool-pc-fonts/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/oldschool-pc-fonts/doinst.sh b/system/oldschool-pc-fonts/doinst.sh
new file mode 100644
index 0000000000000..883c47ac0a60c
--- /dev/null
+++ b/system/oldschool-pc-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