mirror of https://github.com/MISP/misp-docker
Preserve custom images files on container start. (#33)
* Preserve custom images files on container start. * Removed one too many spaces between the bracket and semicolonpull/41/head
parent
fe531d5806
commit
940e9e6e73
|
@ -148,7 +148,7 @@ EOT
|
||||||
|
|
||||||
update_misp_data_files(){
|
update_misp_data_files(){
|
||||||
for DIR in $(ls /var/www/MISP/app/files.dist); do
|
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/\""
|
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/"
|
rsync -azh "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue