aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
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 /gurpmi.addmedia
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)
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia6
1 files changed, 5 insertions, 1 deletions
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)