summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-03-04 09:18:45 +0000
committerOlivier Blin <oblin@mandriva.com>2009-03-04 09:18:45 +0000
commita0a954798d859d1109500da8f44d69efdaffb7f6 (patch)
tree382bae6a444a9096ea8d601d6b0c56db992d0696 /perl-install/install/steps.pm
parent35ceed12a49db5e1a2eb3f555d510c6841799e88 (diff)
downloaddrakx-a0a954798d859d1109500da8f44d69efdaffb7f6.tar
drakx-a0a954798d859d1109500da8f44d69efdaffb7f6.tar.gz
drakx-a0a954798d859d1109500da8f44d69efdaffb7f6.tar.bz2
drakx-a0a954798d859d1109500da8f44d69efdaffb7f6.tar.xz
drakx-a0a954798d859d1109500da8f44d69efdaffb7f6.zip
really set urpmi in automatic mode for non-interactive installs (and not vice-versa)
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r--perl-install/install/steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index fb3acde1b..5a5e867ae 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -423,7 +423,7 @@ sub installPackages {
local $ENV{TMPDIR} = '/tmp';
local $ENV{TMP} = '/tmp';
local $ENV{HOME};
- local $packages->{options}{auto} = to_bool($o_interactive);
+ local $packages->{options}{auto} = !$o_interactive;
install::pkgs::install($o->{isUpgrade}, \@toInstall, $packages, \&installCallback);
}
any::writeandclean_ldsoconf($::prefix);