aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi.addmedia6
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d3ec1878..b3df2d26 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- gurpmi.addmedia
+ o fix message when adding distrib media (#49566)
- rpmdrake
o fix encoding of diff output (#52994)
o fix for unreproductable crash (#49273)
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 232d7967..a3beaab5 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -117,7 +117,11 @@ $fromfile and do {
N("%s
Is it ok to continue?",
-$distrib || 1 < @names
+$distrib || !@names
+? N("You are about to add new packages media.
+That means you will be able to add new software packages
+to your system from these new media.")
+: 1 < @names
? N("You are about to add new packages media, %s.
That means you will be able to add new software packages
to your system from these new media.", join ", ", @names)