summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
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;
}