From e4c073c20c98b14fb1bbbebdd79dacaf0a1f903c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 8 Jun 2007 06:57:08 +0000 Subject: - urpmi o [bugfix] fix plural handling in "Packages foo can not be installed" (#31229) (backport from trunk) --- NEWS | 3 +++ urpmi | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 74d65080..306d5b80 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- urpmi + o [bugfix] fix plural handling in "Packages foo can not be installed" (#31229) + Version 4.9.21.3 - 4 June 2007, by Pascal "Pixel" Rigaux - urpmi diff --git a/urpmi b/urpmi index d0da2caf..631b818b 100755 --- a/urpmi +++ b/urpmi @@ -839,7 +839,7 @@ if ($nok) { N("Package %s is already installed",join(', ', @installed)) : N("Packages %s are already installed", join(', ', @installed)); my @msg2 = @error == 0 ? () : - (@errors == 1) ? + (@error == 1) ? N("Package %s can not be installed", join(', ', @error)) : N("Packages %s can not be installed", join(', ', @error)); print join("\n", @msg1, @msg2, ''); -- cgit v1.2.1