aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-16 11:02:46 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-16 11:02:46 +0000
commit8f03fcb3271218872c129493d6f09a412c2c3efa (patch)
treee641aad626ce47f2a9725415523c3d4e2cd9d074 /edit-urpm-sources.pl
parentf874027e282a2d14ab0af5070afbd9f39a4208a5 (diff)
downloadrpmdrake-8f03fcb3271218872c129493d6f09a412c2c3efa.tar
rpmdrake-8f03fcb3271218872c129493d6f09a412c2c3efa.tar.gz
rpmdrake-8f03fcb3271218872c129493d6f09a412c2c3efa.tar.bz2
rpmdrake-8f03fcb3271218872c129493d6f09a412c2c3efa.tar.xz
rpmdrake-8f03fcb3271218872c129493d6f09a412c2c3efa.zip
(easy_add_callback) enable to use all mirror data provided by server
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 7e8ae707..9ff48f1e 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -88,7 +88,7 @@ to do this in two steps.)"),
transient => $mainw->{real_window},
yesno => 1, text => { yes => N("Distribution sources"), no => N("Official updates") },
) : 1;
- my $m = choose_mirror(message =>
+ my ($mirror) = choose_mirror(message =>
N("This will attempt to install all official sources corresponding to your
distribution (%s).
@@ -99,6 +99,7 @@ Is it ok to continue?", $rpmdrake::mandrake_release),
want_base_distro => $want_base_distro,
transient => $mainw->{real_window},
) or return 0;
+ my $m = $mirror->{url};
my $wait = wait_msg_(N("Please wait, adding media..."));
my $url = $want_base_distro ? make_url_mirror_dist($m) : make_url_mirror($m);
my $medium_name;