From a0a954798d859d1109500da8f44d69efdaffb7f6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 4 Mar 2009 09:18:45 +0000 Subject: really set urpmi in automatic mode for non-interactive installs (and not vice-versa) --- perl-install/install/steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install') 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); -- cgit v1.2.1