mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix ynh_write_var_in_file
This commit is contained in:
parent
fe105c6e2b
commit
90c6a6ce66
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ set__dns_over_https() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# save the new setting in the AGH config file
|
# 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
|
# save the new setting in YNH
|
||||||
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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue