From 3f172c397a180b48ed2a47377e7ec8984d9e8911 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 6 Feb 2003 14:26:34 +0000 Subject: missing aewm-drakx causes pb when testing (perl going havoc?) --- perl-install/install_steps_gtk.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 7e6d438b3..b56eb6e58 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -64,7 +64,9 @@ sub new($$) { sleep 1; log::l("Server died"), return 0 if !$ok; if (c::Xtest($wanted_DISPLAY)) { - fork() || exec("aewm-drakx") || c::_exit(0); + if (-x '/usr/bin/aewm-drakx') { + fork() || exec("aewm-drakx") || c::_exit(0); + } return 1; } } -- cgit v1.2.1