1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

add ynh_print_info

This commit is contained in:
OniriCorpe 2024-01-03 23:38:13 +01:00
parent 7facbe2820
commit 57474383ba

View file

@ -82,6 +82,7 @@ fi
# if the DNS port in the AGH config is not 53, make sure it is...
if ! [ "$(ynh_read_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="port" --after="dns")" == "53" ]; then
ynh_print_info --message="Fixing port 53 in the AGH config file..."
ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="port" --after="dns" --value="53"
fi