From 6749e6dd676ac21f4d547bb70c495245aea1c239 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 29 Jul 2003 14:59:29 +0000 Subject: fixed --auto not working with parallel mode (still asking the user). --- urpme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpme') diff --git a/urpme b/urpme index 36c0104b..59bea458 100644 --- a/urpme +++ b/urpme @@ -100,7 +100,7 @@ my @toremove = $urpm->find_packages_to_remove($state, \@l, if ($test && $auto) { my $msg = N("Checking to remove the following packages"); print STDOUT "$msg:\n" . join("\n", sort { $a cmp $b } @toremove) . "\n"; -} elsif ($parallel || @toremove > @l && !$auto) { +} elsif (($parallel || @toremove > @l) && !$auto) { my $sum = 0; foreach (@toremove) { $sum += $state->{rejected}{$_}{size}; -- cgit v1.2.1