From 90c6a6ce6650376a586bbd5a36c7c14f9d95c709 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 1 Jan 2024 00:18:23 +0100 Subject: [PATCH] fix ynh_write_var_in_file --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index d3258a8..4c0f42f 100644 --- a/scripts/config +++ b/scripts/config @@ -74,7 +74,7 @@ set__dns_over_https() { fi # save the new setting in the AGH config file - ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="tls>enabled" --value="$dns_over_https" + ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="enabled" --after="tls" --value="$dns_over_https" # save the new setting in YNH ynh_app_setting_set --app="$app" --key=dns_over_https --value="$dns_over_https"