nginx: can't really delete the old yunohost_panel.conf.inc because it may be included by nginx app confs ~_~

This commit is contained in:
Alexandre Aubin 2024-02-03 20:06:10 +01:00
parent 6958ea3b0f
commit 8823ef0a2c

View file

@ -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 \