diff options
author | Francois Pons <fpons@mandriva.com> | 2003-07-29 14:59:29 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-07-29 14:59:29 +0000 |
commit | 6749e6dd676ac21f4d547bb70c495245aea1c239 (patch) | |
tree | 5c827dab87bafd10be579d89027b1d3f89b9f134 /urpme | |
parent | 93a7c65ecb82e568d65f8f96f442e1eb2e559d74 (diff) | |
download | urpmi-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).
Diffstat (limited to 'urpme')
-rw-r--r-- | urpme | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}; |