From 699385947b94d4073681380f9ccb1d8ca2ac8ebf Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 16 Dec 2004 09:21:29 +0000 Subject: Tell number of packages that will be removed by urpme --- urpme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpme') 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; } -- cgit v1.2.1