summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-08 06:57:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-08 06:57:08 +0000
commite4c073c20c98b14fb1bbbebdd79dacaf0a1f903c (patch)
treee264365caad493264060bac1ebfba26008ebfd78
parent5b264ba716fb6e6851715136169f8e8c0bc2afeb (diff)
downloadurpmi-e4c073c20c98b14fb1bbbebdd79dacaf0a1f903c.tar
urpmi-e4c073c20c98b14fb1bbbebdd79dacaf0a1f903c.tar.gz
urpmi-e4c073c20c98b14fb1bbbebdd79dacaf0a1f903c.tar.bz2
urpmi-e4c073c20c98b14fb1bbbebdd79dacaf0a1f903c.tar.xz
urpmi-e4c073c20c98b14fb1bbbebdd79dacaf0a1f903c.zip
- urpmi
o [bugfix] fix plural handling in "Packages foo can not be installed" (#31229) (backport from trunk)
-rw-r--r--NEWS3
-rwxr-xr-xurpmi2
2 files changed, 4 insertions, 1 deletions
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, '');