summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 25af8d188..a9db0042b 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -537,11 +537,11 @@ sub main {
}
#- needed very early for install_steps_gtk
- unless ($::testing) {
+ if (!$::testing) {
if ($o->{mouse}) {
mouse::load_modules($o->{mouse});
} else {
- eval { $o->{mouse} = mouse::detect() } unless $o->{nomouseprobe};
+ eval { $o->{mouse} = mouse::detect() } if !$o->{nomouseprobe};
}
}