summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-06 14:26:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-06 14:26:34 +0000
commit3f172c397a180b48ed2a47377e7ec8984d9e8911 (patch)
tree44d85c9a56fcca22423c1c021a53ea67b205a287 /perl-install/install_steps_gtk.pm
parent5ad11e2e83343c6a16f894c0ea598266f9cf9252 (diff)
downloaddrakx-3f172c397a180b48ed2a47377e7ec8984d9e8911.tar
drakx-3f172c397a180b48ed2a47377e7ec8984d9e8911.tar.gz
drakx-3f172c397a180b48ed2a47377e7ec8984d9e8911.tar.bz2
drakx-3f172c397a180b48ed2a47377e7ec8984d9e8911.tar.xz
drakx-3f172c397a180b48ed2a47377e7ec8984d9e8911.zip
missing aewm-drakx causes pb when testing (perl going havoc?)
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 3 insertions, 1 deletions
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;
}
}