From ba8c617e390d3e11f1d5516827f0b8371758e065 Mon Sep 17 00:00:00 2001 From: Koen Van Impe Date: Wed, 15 Jan 2025 14:32:40 +0100 Subject: [PATCH] Avoid removing terms and conditions files --- core/files/entrypoint_nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/files/entrypoint_nginx.sh b/core/files/entrypoint_nginx.sh index 196ef53..2319be5 100755 --- a/core/files/entrypoint_nginx.sh +++ b/core/files/entrypoint_nginx.sh @@ -151,7 +151,7 @@ update_misp_data_files(){ fi fi for DIR in $(ls /var/www/MISP/app/files.dist); do - if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] || [ "$DIR" == "taxonomies" ] ; then + if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] || [ "$DIR" == "taxonomies" ] || [ "$DIR" == "terms" ] ; then echo "... rsync -azh \"/var/www/MISP/app/files.dist/$DIR\" \"/var/www/MISP/app/files/\"" rsync -azh "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/" else