mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix a if condition
This commit is contained in:
parent
7f37e22c06
commit
0bd9d8644c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ elif [ -n "${expose_port_53:-}" ] || [ "${expose_port_53:-}" = false ]; then
|
||||||
ynh_app_setting_set --app="$app" --key=expose_port_53 --value="$expose_port_53"
|
ynh_app_setting_set --app="$app" --key=expose_port_53 --value="$expose_port_53"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${dns_over_https:-}" ] && [ "${dns_over_https:-}" = true ]; then
|
if [ -z "${dns_over_https:-}" ] || [ "${dns_over_https:-}" = true ]; then
|
||||||
dns_over_https="true"
|
dns_over_https="true"
|
||||||
ynh_app_setting_set --app="$app" --key=dns_over_https --value=$dns_over_https
|
ynh_app_setting_set --app="$app" --key=dns_over_https --value=$dns_over_https
|
||||||
elif [ -n "${dns_over_https:-}" ] || [ "${dns_over_https:-}" = false ]; then
|
elif [ -n "${dns_over_https:-}" ] || [ "${dns_over_https:-}" = false ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue