From a6f6a77d11ca6e9f55a99d9fa844e28b5f6ce5bc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 14 Jan 2003 19:46:33 +0000 Subject: don't probe mouse when testing (startup is now much faster) --- perl-install/install2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install2.pm') 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 -- cgit v1.2.1