From 8823ef0a2c825e887f7f84780fca1b658bc6c39c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 3 Feb 2024 20:06:10 +0100 Subject: [PATCH] nginx: can't really delete the old yunohost_panel.conf.inc because it may be included by nginx app confs ~_~ --- hooks/conf_regen/15-nginx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/conf_regen/15-nginx b/hooks/conf_regen/15-nginx index fe8396902..f7294f107 100755 --- a/hooks/conf_regen/15-nginx +++ b/hooks/conf_regen/15-nginx @@ -110,8 +110,8 @@ do_pre_regen() { done - # Legacy file to remove - touch "$nginx_conf_dir"/yunohost_panel.conf.inc + # 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 # remove old domain conf files conf_files=$(ls -1 /etc/nginx/conf.d \