summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-24 12:27:20 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-24 12:27:20 +0000
commit462a37745715f70a4d2597e53e18b58b12a2b33d (patch)
treef3d7b2d5af72484f2c1701dc8d083698960d5010 /urpm
parenta5e9a4daf7fc2a27bccb2ae9ea73c337138ed76a (diff)
downloadurpmi-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.pm1
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));