Preserve custom images files on container start. (#33)

* Preserve custom images files on container start.

* Removed one too many spaces between the bracket and semicolon
pull/41/head
Lorenzo Riccucci 2024-03-24 16:19:53 +01:00 committed by GitHub
parent fe531d5806
commit 940e9e6e73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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