mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
aria2: handle check_certificate=false config option
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user