Don't configure X.org if it's not installed.
[live-boot-grml.git] / scripts / live-bottom / 20xconfig
index c06a505..153732a 100755 (executable)
@@ -41,7 +41,7 @@ then
        exit 0
 fi
 
-if [ -x /root/usr/bin/X ]
+if [ -x /root/usr/bin/X ]
 then
        exit 0
 fi
@@ -83,7 +83,7 @@ ${setoptions}
 EOF
 
 DEBUG_XORG_PACKAGE=1 DEBUG_XORG_DEBCONF=1 live-reconfigure /root xserver-xorg 2>&1 \
-       grep -v "overwriting possibly-customised configuration file"
+       grep -v "overwriting possibly-customised configuration file"
 umount /root/sys
 umount /root/proc
 umount /root/dev