From 13accec7614960965470f17894bc9212842ea6d7 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 9 Dec 2008 21:15:13 -0800 Subject: OSX: More prefix fixes --- startx.cpp | 12 ++++++------ 1 file 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 -- cgit v1.2.3