aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xgurpmi.addmedia3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index eb669379..7f2f9c18 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- gurpmi.addmedia:
+ o fix success message when adding mirrorlist (#48660)
+
Version 5.13 - 25 March 2009, Thierry Vignaud
- rpmdrake:
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index f2f3faef..232d7967 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -145,7 +145,8 @@ foreach (@addmedia_args) {
}
if ($success) {
my $message =
- @names > 1
+ $distrib ? N("Successfully added media.")
+ : @names > 1
? N("Successfully added media %s.", join ", ", @names)
: N("Successfully added medium `%s'.", $names[0]);
interactive_msg('gurpmi.addmedia', $message) if !$silent_success;