diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install2.pm | 7 |
1 files 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 |