mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
better if
This commit is contained in:
parent
c8785c3e01
commit
ac6df8b708
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Storing installation settings..." --weight=2
|
ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||||
|
|
||||||
if [ "$dns_over_https" == "1" ]; then
|
if "$dns_over_https"; then
|
||||||
dns_over_https="true"
|
dns_over_https="true"
|
||||||
# no need to open the ports, as they were opened at the 'Provisioning ports' step
|
# no need to open the ports, as they were opened at the 'Provisioning ports' step
|
||||||
else
|
else
|
||||||
|
@ -28,7 +28,7 @@ fi
|
||||||
|
|
||||||
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"
|
||||||
|
|
||||||
if [ "$open_port_53" == "1" ]; then
|
if "$open_port_53"; then
|
||||||
open_port_53="true"
|
open_port_53="true"
|
||||||
# if open_port_53 is true, we need to open port 53
|
# if open_port_53 is true, we need to open port 53
|
||||||
ynh_exec_warn_less yunohost firewall allow Both 53
|
ynh_exec_warn_less yunohost firewall allow Both 53
|
||||||
|
|
Loading…
Add table
Reference in a new issue