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