Skip to content

Commit

Permalink
Avoid removing terms and conditions files
Browse files Browse the repository at this point in the history
  • Loading branch information
cudeso committed Jan 15, 2025
1 parent 040fe59 commit ba8c617
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 ba8c617

Please sign in to comment.