From 90f3584c4bd4c3f386deb144731d31a7f874d476 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 18 Jan 2007 08:51:34 +0000 Subject: plural and singular were inverted (thanks to Frank Griffin for reporting) --- urpmi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'urpmi') diff --git a/urpmi b/urpmi index d04cd8e4..5adbe4e5 100755 --- a/urpmi +++ b/urpmi @@ -188,7 +188,7 @@ if (@ARGV && $auto_select) { } # Verify that arguments were given -unless (@ARGV || $auto_select) { +unless (@ARGV || $auto_select || $clean) { if ($options{bug}) { print STDERR N("Error: To generate a bug report, specify the usual command-line arguments along with --bug.\n"); @@ -575,8 +575,8 @@ foreach my $pkg (sort { $a->name cmp $b->name } @{$urpm->{depslist}}[keys %{$sta } $urpm->{nb_install} = @to_install; if ($env) { - my $msg = P("To satisfy dependencies, the following packages are going to be installed", - "To satisfy dependencies, the following package is going to be installed", $#to_install); + my $msg = P("To satisfy dependencies, the following package is going to be installed", + "To satisfy dependencies, the following packages are going to be installed", $#to_install); my $msg2 = N("(%d packages, %d MB)", $urpm->{nb_install}, toMb($sum)); my $p = join "\n", @to_install; print "$msg:\n$p\n$msg2\n"; @@ -586,8 +586,8 @@ if (@root_only) { print N("You need to be root to install the following dependencies:\n%s\n", join ' ', @root_only); exit 1; } elsif (!$urpm->{options}{auto} && $ask_user && @to_install) { - my $msg = P("To satisfy dependencies, the following packages are going to be installed", - "To satisfy dependencies, the following package is going to be installed", $#to_install); + my $msg = P("To satisfy dependencies, the following package is going to be installed", + "To satisfy dependencies, the following packages are going to be installed", $#to_install); if ($test) { $msg = "$msg\n" . N("(test only, installation will not be actually done)"); } -- cgit v1.2.1