atst/script/sync-crls
2020-03-04 11:51:15 -05:00

13 lines
287 B
Bash
Executable File

#!/bin/sh
# script/sync-crls: update the DOD CRLs and place them where authnid expects them
set -e
cd "$(dirname "$0")/.."
mkdir -p crl-tmp crls
./.venv/bin/python ./atat/domain/authnid/crl/util.py crl-tmp crls
if [ "$(ls -A crl-tmp)" ]; then
cp -r crl-tmp/* crls/
fi
rm -rf crl-tmp