Don't configure X when /usr/bin/X does not exist.
authorChris Lamb <chris@chris-lamb.co.uk>
Tue, 12 Aug 2008 00:09:36 +0000 (01:09 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:01 +0000 (17:48 +0100)
scripts/live-bottom/20xconfig

index 2a24ab5..4a80b21 100755 (executable)
@@ -43,6 +43,11 @@ then
        exit 0
 fi
 
+if [ -x /root/usr/bin/X ]
+then
+       exit 0
+fi
+
 locale=en_US.UTF-8
 
 mount -n -o bind /sys /root/sys