summaryrefslogtreecommitdiffstats
path: root/system/sahel-font/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/sahel-font/doinst.sh')
-rw-r--r--system/sahel-font/doinst.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/sahel-font/doinst.sh b/system/sahel-font/doinst.sh
new file mode 100644
index 0000000000..24224f5ab3
--- /dev/null
+++ b/system/sahel-font/doinst.sh
@@ -0,0 +1,15 @@
+# Update the fonts indexes.
+
+if [ -x /usr/bin/mkfontdir ]; then
+ cd /usr/share/fonts/TTF
+ mkfontdir .
+fi
+
+if [ -x /usr/bin/mkfontscale ]; then
+ cd /usr/share/fonts/TTF
+ mkfontscale .
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ fc-cache -f -v
+fi