diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-24 12:27:20 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-09-24 12:27:20 +0000 |
commit | 462a37745715f70a4d2597e53e18b58b12a2b33d (patch) | |
tree | f3d7b2d5af72484f2c1701dc8d083698960d5010 /urpm | |
parent | a5e9a4daf7fc2a27bccb2ae9ea73c337138ed76a (diff) | |
download | urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar.gz urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar.bz2 urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.tar.xz urpmi-462a37745715f70a4d2597e53e18b58b12a2b33d.zip |
make certificate check for aria2 behave the same as for the other downloaders
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/download.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 39d63a02..83c6767d 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -683,6 +683,7 @@ sub sync_aria2 { ($options->{'limit-rate'} ? "--max-download-limit=" . $options->{'limit-rate'} : ()), ($options->{resume} ? "--continue" : "--allow-overwrite=true"), ($options->{proxy} ? set_proxy({ type => "aria2", proxy => $options->{proxy} }) : ()), + ($options->{"strict-certificate-check"} ? () : "--check-certificate=false"), (defined $options->{'aria2-options'} ? split /\s+/, $options->{'aria2-options'} : ()), _create_metalink_($urpm, $medium, $rel_files, $options)); |