aboutsummaryrefslogtreecommitdiff
path: root/system/ProFont/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/ProFont/doinst.sh')
-rw-r--r--system/ProFont/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/ProFont/doinst.sh b/system/ProFont/doinst.sh
new file mode 100644
index 0000000000000..47d98fb2b966d
--- /dev/null
+++ b/system/ProFont/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/misc
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi