summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-29 12:55:24 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-29 12:55:24 +0000
commit9b3faa24fb2ce8367c11468d44cac9c8a1ff6a87 (patch)
tree49753766c9ff72d8a81686404039119a52c4c365
parent3a73605669044900b1a9ffb06069b7d03b590d9d (diff)
downloadurpmi-9b3faa24fb2ce8367c11468d44cac9c8a1ff6a87.tar
urpmi-9b3faa24fb2ce8367c11468d44cac9c8a1ff6a87.tar.gz
urpmi-9b3faa24fb2ce8367c11468d44cac9c8a1ff6a87.tar.bz2
urpmi-9b3faa24fb2ce8367c11468d44cac9c8a1ff6a87.tar.xz
urpmi-9b3faa24fb2ce8367c11468d44cac9c8a1ff6a87.zip
always ask user about packages which will be removed when using --parallel
option.
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index 56b8e43c..ba8d3766 100644
--- a/urpme
+++ b/urpme
@@ -99,7 +99,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 (@toremove > @l && !$auto) {
+} elsif ($parallel || @toremove > @l && !$auto) {
my $sum = 0;
foreach (@toremove) {
$sum += $state->{rejected}{$_}{size};