diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-01-29 22:25:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-01-29 22:25:45 +0000 |
commit | 500cba9448af25e460962c25a478b826dfe3bd71 (patch) | |
tree | 69b372188b3062430940c1a7b9079ede92140761 /Rpmdrake/pkg.pm | |
parent | acdcd7674e0570d77686ab47140aa9c30b406710 (diff) | |
download | rpmdrake-500cba9448af25e460962c25a478b826dfe3bd71.tar rpmdrake-500cba9448af25e460962c25a478b826dfe3bd71.tar.gz rpmdrake-500cba9448af25e460962c25a478b826dfe3bd71.tar.bz2 rpmdrake-500cba9448af25e460962c25a478b826dfe3bd71.tar.xz rpmdrake-500cba9448af25e460962c25a478b826dfe3bd71.zip |
(choose_mirror,mirrors) use urpm::download::sync() instead of
curl_download::download() in order to download mirror list from
api.mandriva.com, thus using the downloader set up with urpmi instead
of forcing curl, and using urpmi's proxy options
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 1db5b7e6..f0fffa7b 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -220,7 +220,7 @@ column). Then, restart \"%s\".", N("Enabled"), $rpmdrake::myname_update)); myexit(-1); } - my ($mirror) = choose_mirror(transient => $w->{real_window} || $::main_window, + my ($mirror) = choose_mirror($urpm, transient => $w->{real_window} || $::main_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. |