]> spindle.queued.net Git - xodist/commitdiff
initcache: minor bugfix wrt configuring X
authorAndres Salomon <dilinger@debian.org>
Fri, 29 Aug 2008 05:32:48 +0000 (01:32 -0400)
committerAndres Salomon <dilinger@debian.org>
Fri, 29 Aug 2008 05:32:48 +0000 (01:32 -0400)
Signed-off-by: Andres Salomon <dilinger@debian.org>
initchroot.sh

index f77612d507a0c4959312167245aaa54e6b425f8b..5e56b9c1e54e67ca62c8d5ed0f74be4a21d16156 100755 (executable)
@@ -158,7 +158,7 @@ EOF
 (chroot ${ROOT_DIR} aptitude install -y `cat ${PLIST}`)
 
 # configure X
-if [ -d /etc/X11 ]; then
+if [ -d ${ROOT_DIR}/etc/X11 ]; then
     cat >${ROOT_DIR}/etc/X11/xorg.conf<<EOF
 # xorg.conf (X.Org X Window System server configuration file)