aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-17 10:47:03 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-17 10:47:03 +0000
commitdfc91285ba090540a78a49604e5401431c028246 (patch)
treec3e89daa7f2469251019e909305049ef490436a7
parent423594bdbf24abaf05c3991e29f7003a6c4c4a93 (diff)
downloadrpmdrake-dfc91285ba090540a78a49604e5401431c028246.tar
rpmdrake-dfc91285ba090540a78a49604e5401431c028246.tar.gz
rpmdrake-dfc91285ba090540a78a49604e5401431c028246.tar.bz2
rpmdrake-dfc91285ba090540a78a49604e5401431c028246.tar.xz
rpmdrake-dfc91285ba090540a78a49604e5401431c028246.zip
(warn_about_media) do not display any banner when embedded while adding media
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 362efe4b..b2818112 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
(needs urpmi 6.11) (#43501)
- do not display any (truncated) banner when embedded while updating
media (like non-embedded case) (#43815)
+- do not display any banner when embedded while adding media
Version 4.18.2 - 10 September 2008, Thierry Vignaud
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index eacfbfa5..0afc831e 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -228,7 +228,7 @@ sub warn_about_media {
if (@update_medias > 0) {
if (!$opts->{skip_updating_mu} && !$is_update_media_already_asked) {
$is_update_media_already_asked = 1;
- $::rpmdrake_options{'no-confirmation'} or interactive_msg_with_banner(N("Confirmation"),
+ $::rpmdrake_options{'no-confirmation'} or interactive_msg(N("Confirmation"),
N("I need to contact the mirror to get latest update packages.
Please check that your network is currently running.