summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-16 09:21:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-16 09:21:29 +0000
commit699385947b94d4073681380f9ccb1d8ca2ac8ebf (patch)
tree592af880e7d2c1b7787eb5b3dc6df070014f3ce5 /urpme
parentd7690635f519e7e7f3a60d171ff3468f299aa1ff (diff)
downloadurpmi-699385947b94d4073681380f9ccb1d8ca2ac8ebf.tar
urpmi-699385947b94d4073681380f9ccb1d8ca2ac8ebf.tar.gz
urpmi-699385947b94d4073681380f9ccb1d8ca2ac8ebf.tar.bz2
urpmi-699385947b94d4073681380f9ccb1d8ca2ac8ebf.tar.xz
urpmi-699385947b94d4073681380f9ccb1d8ca2ac8ebf.zip
Tell number of packages that will be removed by urpme
Diffstat (limited to 'urpme')
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index f153ad78..f48dc68e 100644
--- a/urpme
+++ b/urpme
@@ -103,7 +103,7 @@ if ($test && $auto) {
foreach (@toremove) {
$sum += $state->{rejected}{$_}{size};
}
- my $msg = N("To satisfy dependencies, the following packages will be removed (%d MB)", toMb($sum));
+ my $msg = N("To satisfy dependencies, the following %d packages will be removed (%d MB)", scalar(@toremove), toMb($sum));
print STDOUT "$msg:\n$list\n";
message_input($askok . N(" (y/N) "), $force && $yesexpr, boolean => 1) =~ /[$yesexpr]/ or exit 0;
}