Merge pull request #7079 from valdi74/update_package_aria2

aria2: handle check_certificate=false config option
This commit is contained in:
Dirk Brenken 2018-09-22 07:21:49 +02:00 committed by GitHub
commit f4cdfcf15a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,6 +252,8 @@ aria2_start() {
if [ ."$check_certificate" = ."true" ]; then
append_setting "check-certificate=true"
append_options "ca_certificate"
elif [ ."$check_certificate" = ."false" ]; then
append_setting "check-certificate=false"
fi
if [ ."$enable_dht" = ."true" ]; then