diff --git a/hooks/conf_regen/15-nginx b/hooks/conf_regen/15-nginx index f7294f107..a8a8102de 100755 --- a/hooks/conf_regen/15-nginx +++ b/hooks/conf_regen/15-nginx @@ -111,7 +111,7 @@ do_pre_regen() { done # Legacy file to remove, but we can't really remove it because it may be included by app confs... - echo "# The old yunohost panel/tile/button doesn't exists anymore" "$nginx_conf_dir"/yunohost_panel.conf.inc + echo "# The old yunohost panel/tile/button doesn't exists anymore" > "$nginx_conf_dir"/yunohost_panel.conf.inc # remove old domain conf files conf_files=$(ls -1 /etc/nginx/conf.d \