summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-13 23:15:27 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-04-13 23:15:27 -0700
commitd5590dba3cce39367762d39822094ca51000142b (patch)
tree5085a881ecdaabbd8df89505dbe907f91a099621 /startx.cpp
parent5ef443bb6bff0a03ee00105d9bf95bc3f6f82b11 (diff)
Apple: We renamed font_cache.sh to font_cache for better consistency... Changing startx to work with this
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 &