diff options
Diffstat (limited to 'scripts')
-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 |