diff options
Diffstat (limited to 'scripts/do-update.sh')
-rwxr-xr-x | scripts/do-update.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/do-update.sh b/scripts/do-update.sh new file mode 100755 index 00000000..5dc38700 --- /dev/null +++ b/scripts/do-update.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +cd /var/cache/metadata_git.swamid.se && make update +rsync -a /opt/metadata/swamid-internal/* /opt/metadata/swamid-qa + +./scripts/download-pending +cd /var/cache/metadata_git.swamid.se/metadata || exit 2 +for file in `ls swamid-internal/` ; do + if [ -r swamid-qa/$file ]; then + diff swamid-internal/$file swamid-qa/$file || exit 1 + fi +done +#/opt/metadata/scripts/update-and-validate.sh |