summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'startx.cpp')
-rw-r--r--startx.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/startx.cpp b/startx.cpp
index c31f424..ab4f7d0 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -95,7 +95,9 @@ fi
XCOMM First, start caching fonts
if [ x`defaults read org.x.X11 cache_fonts` = x1 ] ; then
- if [ -x /usr/X11/bin/font_cache.sh ] ; then
+ if [ -x /usr/X11/bin/font_cache ] ; then
+ /usr/X11/bin/font_cache &
+ elif [ -x /usr/X11/bin/font_cache.sh ] ; then
/usr/X11/bin/font_cache.sh &
elif [ -x /usr/X11/bin/fc-cache ] ; then
/usr/X11/bin/fc-cache &