From 462a37745715f70a4d2597e53e18b58b12a2b33d Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 24 Sep 2009 12:27:20 +0000 Subject: make certificate check for aria2 behave the same as for the other downloaders --- urpm/download.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm') 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)); -- cgit v1.2.1