aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 14:44:34 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 14:44:34 +0000
commita9c2755e8b7690775c1e004dbd67288fd1d22cde (patch)
tree4bc3e9b3448dc9663f95686cd02cec2e6f8a47cc
parent59c7d0d44e8ccd9be9205971bdd3cd39130ba93f (diff)
downloadrpmdrake-a9c2755e8b7690775c1e004dbd67288fd1d22cde.tar
rpmdrake-a9c2755e8b7690775c1e004dbd67288fd1d22cde.tar.gz
rpmdrake-a9c2755e8b7690775c1e004dbd67288fd1d22cde.tar.bz2
rpmdrake-a9c2755e8b7690775c1e004dbd67288fd1d22cde.tar.xz
rpmdrake-a9c2755e8b7690775c1e004dbd67288fd1d22cde.zip
fix message when adding distrib media (#49566)
-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)