Skip to content

Commit

Permalink
Avoid removing terms and conditions files (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
cudeso authored Jan 15, 2025
1 parent 2b9390e commit db47cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/files/entrypoint_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db47cf5

Please sign in to comment.