summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--startx.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/startx.cpp b/startx.cpp
index fb23f18..529366d 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -103,12 +103,12 @@ fi
XCOMM First, start caching fonts
if [ x`defaults read $X11_PREFS_DOMAIN cache_fonts` = x1 ] ; 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 &
+ if [ -x $bindir/font_cache ] ; then
+ $bindir/font_cache &
+ elif [ -x $bindir/font_cache.sh ] ; then
+ $bindir/font_cache.sh &
+ elif [ -x $bindir/fc-cache ] ; then
+ $bindir/fc-cache &
fi
fi