From f6164f8f1f68dc6c9534a612f8a8a52753853792 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 22 Nov 2005 14:40:22 +0000 Subject: don't run Xnest if an auto_install file is used --- tools/drakx-in-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/drakx-in-chroot') diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 10ae26e27..fbda29eb9 100644 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -57,7 +57,7 @@ create_initial_devices(); output("$SLASH_LOCATION/etc/hosts", "127.0.0.1 localhost\n") if ! -e "$SLASH_LOCATION/etc/hosts"; my $Xnest_pid; -if (whereis_binary('Xnest')) { +if (!-f ($SLASH_LOCATION . $AUTO_INSTALL_ROOTED) && whereis_binary('Xnest')) { my $DISPLAY = ':8'; $Xnest_pid = fork(); if (!$Xnest_pid) { -- cgit v1.2.1