Preserve custom images files on container start.

pull/33/head
vacmf 2024-03-20 23:34:26 +01:00
parent fe531d5806
commit 7eb0da2151
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ EOT
update_misp_data_files(){
for DIR in $(ls /var/www/MISP/app/files.dist); do
if [ "$DIR" = "certs" ]; then
if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] ; 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