diff --git a/images/taginfo/start.sh b/images/taginfo/start.sh index 2733a50e..3acbc53a 100755 --- a/images/taginfo/start.sh +++ b/images/taginfo/start.sh @@ -64,6 +64,8 @@ compress_files() { download_db_files() { if ! aws s3 ls "s3://$AWS_S3_BUCKET/$ENVIRONMENT" 2>&1 | grep -q 'An error occurred'; then aws s3 sync "s3://$AWS_S3_BUCKET/$ENVIRONMENT/" "$DATADIR/" + mv $DATADIR/*.db $DATADIR/ + mv $DATADIR/*/*.db $DATADIR/ compress_files fi }