aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 01:33:21 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 01:33:21 +0000
commitd8d0a21bc5582010fc452c94104aa5b16fb21055 (patch)
tree558d02aad908042b64c0c192dfd26ac96967785b /Rpmdrake
parent185461d3b69d622ae8f65f2517aa232924d11d8f (diff)
downloadrpmdrake-d8d0a21bc5582010fc452c94104aa5b16fb21055.tar
rpmdrake-d8d0a21bc5582010fc452c94104aa5b16fb21055.tar.gz
rpmdrake-d8d0a21bc5582010fc452c94104aa5b16fb21055.tar.bz2
rpmdrake-d8d0a21bc5582010fc452c94104aa5b16fb21055.tar.xz
rpmdrake-d8d0a21bc5582010fc452c94104aa5b16fb21055.zip
(warn_about_media) explain the actual issue when there's no configured
update medium
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index b4d5f9a2..91fd17bc 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -203,7 +203,15 @@ column).
Then, restart \"%s\".", N("Enabled"), $rpmdrake::myname_update));
myexit(-1);
}
- my ($mirror) = choose_mirror(if_(exists $w->{real_window}, transient => $w->{real_window}));
+ my ($mirror) = choose_mirror(if_(exists $w->{real_window}, transient => $w->{real_window}),
+ message => join("\n\n",
+ N("You have no configured update media. MandrivaUpdate cannot operate without any update media."),
+ N("I need to contact the Mandriva website to get the mirror list.
+Please check that your network is currently running.
+
+Is it ok to continue?"),
+ ),
+ );
my $m = ref($mirror) ? $mirror->{url} : '';
$m or interactive_msg(N("How to choose manually your mirror"),
N("You may also choose your desired mirror manually: to do so,