|
@@ -308,7 +308,8 @@ echo "$(ynh_app_upstream_version) $pihole_adminlte_version $pihole_flt_version"
|
|
|
#=================================================
|
|
#=================================================
|
|
|
ynh_script_progression --message="Setting up conf_regen hook..." --weight=1
|
|
ynh_script_progression --message="Setting up conf_regen hook..." --weight=1
|
|
|
|
|
|
|
|
-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"
|
|
|
|
|
|
|
|
systemctl daemon-reload
|
|
systemctl daemon-reload
|
|
|
ynh_exec_warn_less yunohost tools regen-conf dnsmasq
|
|
ynh_exec_warn_less yunohost tools regen-conf dnsmasq
|