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
+2
View File
@@ -252,6 +252,8 @@ aria2_start() {
if [ ."$check_certificate" = ."true" ]; then if [ ."$check_certificate" = ."true" ]; then
append_setting "check-certificate=true" append_setting "check-certificate=true"
append_options "ca_certificate" append_options "ca_certificate"
elif [ ."$check_certificate" = ."false" ]; then
append_setting "check-certificate=false"
fi fi
if [ ."$enable_dht" = ."true" ]; then if [ ."$enable_dht" = ."true" ]; then