From 7b11f46a19aa3459d9dd6a3d20d4de0cc793564e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 20 Mar 2024 14:10:38 +0100 Subject: [PATCH] Fix install dnsmasq --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 35d53f5..1f4f8eb 100644 --- a/scripts/install +++ b/scripts/install @@ -149,6 +149,10 @@ systemctl mask dnsmasq.service # Reload systemd config systemctl daemon-reload +# Workaround for strings to not be replaced +a_range="__A_RANGE__" +b_range="__B_RANGE__" +gateway="__GATEWAY__" ynh_add_config --template="dnsmasq_regenconf_hook" --destination="/usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app" ynh_exec_warn_less yunohost tools regen-conf dnsmasq