Avoid removing terms and conditions files

pull/210/head
Koen Van Impe 2025-01-15 14:32:40 +01:00
parent 040fe59d46
commit ba8c617e39
1 changed files with 1 additions and 1 deletions

View File

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