diff options
author | Björn Mattsson <bjorn@sunet.se> | 2022-11-18 08:39:22 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2022-11-18 08:39:22 +0100 |
commit | 65081e7eba296b4ba54a8ae6c9ce4dc9c206ea7e (patch) | |
tree | 41c1530e3ef66f3a03c9df244a4ca7b123d62bc9 /scripts/update-and-validate.sh | |
parent | a7a75d1b1891d0cdda9aa7eeda26a1f0d9e99dad (diff) |
Added new dirs for import / removal
Diffstat (limited to 'scripts/update-and-validate.sh')
-rwxr-xr-x | scripts/update-and-validate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-and-validate.sh b/scripts/update-and-validate.sh index cec59729..07057918 100755 --- a/scripts/update-and-validate.sh +++ b/scripts/update-and-validate.sh @@ -7,7 +7,7 @@ update() git pull -q || return $? # Remove old entitys from DB - ls swamid-2.0/*.xml | sed 's@swamid-2.0/\(.*\).xml@.time/\1.validate@' > /tmp/$$.xml + ls swamid-edugain/*.xml swamid-2.0/*.xml swamid-testing/*.xml | sed 's@swamid-.*/\(.*\).xml@.time/\1.validate@' | sort > /tmp/$$.xml ls .time/*.validate > /tmp/$$.time comm -13 /tmp/$$.xml /tmp/$$.time | while read file; do docker exec swamid-metadata-sp /var/www/scripts/removeEntity.bash /opt/metadata/$file |