From 2265861095c7d84b09919d137079bf7323b4a596 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 23 Nov 2021 11:05:04 +0100 Subject: [PATCH] Update install --- scripts/install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 7191c0c..3258471 100644 --- a/scripts/install +++ b/scripts/install @@ -368,10 +368,8 @@ ynh_exec_warn_less /opt/pihole/gravity.sh # SET UP CONF_REGEN HOOK #================================================= -ynh_add_config --template="../conf/dnsmasq_regenconf_hook" --destination="/usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app" - -#cp ../conf/dnsmasq_regenconf_hook /usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app -#ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app" +cp ../conf/dnsmasq_regenconf_hook /usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app" systemctl daemon-reload ynh_exec_warn_less yunohost tools regen-conf dnsmasq