summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-14 19:46:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-14 19:46:33 +0000
commita6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc (patch)
treeee1297e01fea98f93158b308d249a7e57f7e8ed8 /perl-install
parentebcfcd6a76e00806286771f50de84bc9a1818a27 (diff)
downloaddrakx-a6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc.tar
drakx-a6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc.tar.gz
drakx-a6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc.tar.bz2
drakx-a6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc.tar.xz
drakx-a6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc.zip
don't probe mouse when testing (startup is now much faster)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 9300a791f..6662cd98d 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -509,7 +509,7 @@ sub main {
} modules::probe_category('multimedia/sound');
#- needed very early for install_steps_gtk
- eval { $o->{mouse} = mouse::detect() } if !$o->{nomouseprobe} && !$o->{mouse};
+ eval { $o->{mouse} = mouse::detect() } if !$o->{nomouseprobe} && !$o->{mouse} && !$::testing;
$o->{lang} = lang::set($o->{lang}) if $o->{lang} ne 'en_US'; #- mainly for defcfg