From 7415cc436e4cb44602e1acc8aec716754488615e Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 3 Jan 2024 22:45:12 +0100 Subject: [PATCH] add ynh_print_info --- scripts/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/config b/scripts/config index e75daaf..2748778 100644 --- a/scripts/config +++ b/scripts/config @@ -36,6 +36,8 @@ set__expose_port_53() { ynh_print_info --message="Updating the AGH config file..." update_agh_ip_config + # declare needs_exposed_ports according to real user need + ynh_print_info --message="Updating the YunoHost service for AdGuard Home..." if [ "$dns_over_https" == "true" ] && [ "$expose_port_53" == "true" ]; then yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "53" "$port_dns_over_http" "$port_dns_over_quic" elif [ "$dns_over_https" == "true" ]; then @@ -71,6 +73,7 @@ set__dns_over_https() { fi # declare needs_exposed_ports according to real user need + ynh_print_info --message="Updating the YunoHost service for AdGuard Home..." if [ "$dns_over_https" == "true" ] && [ "$expose_port_53" == "true" ]; then yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "53" "$port_dns_over_http" "$port_dns_over_quic" elif [ "$dns_over_https" == "true" ]; then