summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-12 10:04:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-12 10:04:45 +0000
commit86f96cd66b41a1d5ff3b5958a858cccef55a389a (patch)
treed8e419b8880aba9d037dbc229a9d68d20ee99436 /perl-install
parent1d670748c5049176df9215876dea024c129f410e (diff)
downloaddrakx-86f96cd66b41a1d5ff3b5958a858cccef55a389a.tar
drakx-86f96cd66b41a1d5ff3b5958a858cccef55a389a.tar.gz
drakx-86f96cd66b41a1d5ff3b5958a858cccef55a389a.tar.bz2
drakx-86f96cd66b41a1d5ff3b5958a858cccef55a389a.tar.xz
drakx-86f96cd66b41a1d5ff3b5958a858cccef55a389a.zip
replace unless with if
Diffstat (limited to 'perl-install')
-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};
}
}