summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-29 14:59:29 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-29 14:59:29 +0000
commit6749e6dd676ac21f4d547bb70c495245aea1c239 (patch)
tree5c827dab87bafd10be579d89027b1d3f89b9f134
parent93a7c65ecb82e568d65f8f96f442e1eb2e559d74 (diff)
downloadurpmi-6749e6dd676ac21f4d547bb70c495245aea1c239.tar
urpmi-6749e6dd676ac21f4d547bb70c495245aea1c239.tar.gz
urpmi-6749e6dd676ac21f4d547bb70c495245aea1c239.tar.bz2
urpmi-6749e6dd676ac21f4d547bb70c495245aea1c239.tar.xz
urpmi-6749e6dd676ac21f4d547bb70c495245aea1c239.zip
fixed --auto not working with parallel mode (still asking the user).
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
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};