From 91d86bf859df6b56b880d7f90e76f5893ebec45f Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 16 May 2024 11:22:51 +0200 Subject: [PATCH] fix a dumb fileless grep... --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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