diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-01 19:19:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-01 19:19:21 +0000 |
commit | 30e2a32f1b26b93d5d9aed310cb9be6f047a27d3 (patch) | |
tree | a9d4fd84d4cacf3b16d3a4d2cdeee15db1eec1f6 /urpm/download.pm | |
parent | 6ffec4be6a0cf15824a48f639d6fe2a32de9d508 (diff) | |
download | urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar.gz urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar.bz2 urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.tar.xz urpmi-30e2a32f1b26b93d5d9aed310cb9be6f047a27d3.zip |
perl_checker cleanups
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index dffd423c..f4718036 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -5,7 +5,7 @@ package urpm::download; use strict; use urpm::msg; use urpm::util; -use bytes(); +use bytes (); use Cwd; use Exporter; # perl_checker: require urpm @@ -67,7 +67,7 @@ sub preferred_downloader { my @metalink_downloaders = urpm::download::available_metalink_downloaders(); my $metalink_disabled = !$$use_metalink && $medium->{disable_metalink}; - if (($$use_metalink) && !$metalink_disabled) { + if ($$use_metalink && !$metalink_disabled) { #- If metalink is used, only aria2 is available as other downloaders doesn't support metalink unshift @available, @metalink_downloaders; } |