diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
commit | 467dbdbf3d7212e25ee69daeaadd8adba7c7c5b8 (patch) | |
tree | d3576d5f2d4b5cc676c0a12ef8f8c3c83b474bf5 /scripts/do-update.sh | |
parent | bc1d55080e5d42e6ef2bba892d640aa8f68bbc90 (diff) |
Moved files to make ths repo signed
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 |