summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-30 10:54:46 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-30 10:54:46 +0000
commit84c1e1b34871239b0790fbb85c1380144d3756f3 (patch)
tree9584b571d54823da0c7314d65b0eb1aaa6b2962c /urpm.pm
parent04a4e91eb28c2d23686005de18fa9623196b64f4 (diff)
downloadurpmi-84c1e1b34871239b0790fbb85c1380144d3756f3.tar
urpmi-84c1e1b34871239b0790fbb85c1380144d3756f3.tar.gz
urpmi-84c1e1b34871239b0790fbb85c1380144d3756f3.tar.bz2
urpmi-84c1e1b34871239b0790fbb85c1380144d3756f3.tar.xz
urpmi-84c1e1b34871239b0790fbb85c1380144d3756f3.zip
urpmi wasn't taking into account the global downloader setting
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 52cd7a03..517b605e 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -86,8 +86,8 @@ sub sync_webfetch {
ref $m && $m->{downloader} and $option_downloader = $m->{downloader};
}
#- global config
- !$option_downloader && exists $urpm->{global_config}{''}{downloader}
- and $option_downloader = $urpm->{global_config}{''}{downloader};
+ !$option_downloader && exists $urpm->{global_config}{downloader}
+ and $option_downloader = $urpm->{global_config}{downloader};
if ($option_downloader) {
$preferred = find { $_ eq $option_downloader } @available_webfetch;
}