Skip to content

Commit db47cf5

Browse files
authored
Avoid removing terms and conditions files (#211)
1 parent 2b9390e commit db47cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/files/entrypoint_nginx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ update_misp_data_files(){
151151
fi
152152
fi
153153
for DIR in $(ls /var/www/MISP/app/files.dist); do
154-
if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] || [ "$DIR" == "taxonomies" ] ; then
154+
if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] || [ "$DIR" == "taxonomies" ] || [ "$DIR" == "terms" ] ; then
155155
echo "... rsync -azh \"/var/www/MISP/app/files.dist/$DIR\" \"/var/www/MISP/app/files/\""
156156
rsync -azh "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
157157
else

0 commit comments

Comments
 (0)