diff --git a/scripts/upgrade b/scripts/upgrade index 77a0627..861c31b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,7 +30,7 @@ ynh_systemd_action --service_name="$app" --action="stop" ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 # to remove some time in the future (DoH PR during testing phase residual) -if ! grep -q "port_https: 0"; then +if ! grep -q "port_https: 0" "$install_dir/AdGuardHome.yaml"; then ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="port_https" --value="0" fi