diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-30 18:15:36 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-30 18:15:36 +0000 |
commit | 825a6a0d7b41e624c01d0236ec73d31296c352c6 (patch) | |
tree | 9932bf3bb6ca7b5d10ca80aca7e4d122a402d5bd /rpmdrake.pm | |
parent | 0e08c3052db01f30ac90f56c6d57a8ec3b01e29b (diff) | |
download | rpmdrake-825a6a0d7b41e624c01d0236ec73d31296c352c6.tar rpmdrake-825a6a0d7b41e624c01d0236ec73d31296c352c6.tar.gz rpmdrake-825a6a0d7b41e624c01d0236ec73d31296c352c6.tar.bz2 rpmdrake-825a6a0d7b41e624c01d0236ec73d31296c352c6.tar.xz rpmdrake-825a6a0d7b41e624c01d0236ec73d31296c352c6.zip |
handle /etc/urpmi/proxy.cfg proxies, have a proxy dialog config in
edit-urpm-sources
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 58a7edbd..cdb03254 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -207,9 +207,7 @@ sub mirrors { my ($cachedir, $class) = @_; my $mirrorslist = "$cachedir/mirrorsfull.list"; unlink $mirrorslist; - my $proxy; - /http_proxy = (http:[^:]+:\d+)/ and $proxy = $1 foreach cat_("$ENV{HOME}/.wgetrc"); - my $res = curl_download::download('http://www.linux-mandrake.com/mirrorsfull.list', $cachedir, $proxy, sub {}); + my $res = curl_download::download('http://www.linux-mandrake.com/mirrorsfull.list', $cachedir, sub {}); $res and die $res; require timezone; my $tz = ${timezone::read()}{timezone}; |