From 250b2d99420a04c74766b51177bc608ea76b5a35 Mon Sep 17 00:00:00 2001 From: Devon Mackay Date: Mon, 13 Aug 2018 12:38:12 -0400 Subject: [PATCH] Only sync files that contain some data --- script/sync-crls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/sync-crls b/script/sync-crls index 3c02ac93..615ee57a 100755 --- a/script/sync-crls +++ b/script/sync-crls @@ -7,7 +7,7 @@ cd "$(dirname "$0")/.." mkdir -p crl-tmp pipenv run python ./atst/domain/authnid/crl/util.py crl-tmp mkdir -p crl -rsync -rq crl-tmp/. crl/. +rsync -rq --min-size 400 crl-tmp/. crl/. rm -rf crl-tmp if [[ $FLASK_ENV != "prod" ]]; then