diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 12:04:22 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 12:04:22 +0100 |
commit | 95a1fba3437b53e6851332c3269fcb7d2e0926ea (patch) | |
tree | 2cea6b0fcbc3901d7753dc7f37c282183eb5e43b | |
parent | 88106a19143b3c04c142633cc2060bbc07562cb3 (diff) |
Made update-cron.sh use do-update.sh to fecth metadatamd-2023-03-06-v02
-rwxr-xr-x | metadata/scripts/update-cron.sh | 8 | ||||
-rwxr-xr-x | scripts/do-update.sh | 10 |
2 files changed, 4 insertions, 14 deletions
diff --git a/metadata/scripts/update-cron.sh b/metadata/scripts/update-cron.sh index f00daa03..8f9ed813 100755 --- a/metadata/scripts/update-cron.sh +++ b/metadata/scripts/update-cron.sh @@ -2,9 +2,9 @@ update() { - echo "git pull" - git pull || return $? - echo + #echo "git pull" + #git pull || return $? + #echo echo "make aggregate" make aggregate || return $? @@ -23,5 +23,5 @@ update() #echo } -cd /opt/swamid-metadata || exit 1 +cd /opt/metadata || exit 1 update diff --git a/scripts/do-update.sh b/scripts/do-update.sh index 5dc38700..6b29a34f 100755 --- a/scripts/do-update.sh +++ b/scripts/do-update.sh @@ -1,13 +1,3 @@ #!/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 |