From a8514cd2ed0b40c27c45bd001eb9d7c2e3636c9d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 6 Sep 2004 04:24:29 +0000 Subject: always load mouse modules at beginning of install (should fix X test not working with synaptics during install) --- perl-install/install2.pm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 406989072..49c51649d 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -572,11 +572,8 @@ sub main { #- needed very early for install_steps_gtk if (!$::testing) { - if ($o->{mouse}) { - mouse::load_modules($o->{mouse}); - } else { - eval { $o->{mouse} = mouse::detect($o->{modules_conf}) } if !$o->{nomouseprobe}; - } + eval { $o->{mouse} = mouse::detect($o->{modules_conf}) } if !$o->{mouse} && !$o->{nomouseprobe}; + mouse::load_modules($o->{mouse}); } $o->{locale}{lang} = lang::set($o->{locale}) if $o->{locale}{lang} ne 'en_US' && !$::move; #- mainly for defcfg -- cgit v1.2.1