From 3d42b2b0a18ef20f62653faee2ea192fa957c89f Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Fri, 10 Mar 2023 09:30:23 +0100 Subject: Remove part to reimport files every 15 days. Will be done as script in metadata-tool instead --- metadata/scripts/update-and-validate.sh | 8 -------- 1 file changed, 8 deletions(-) (limited to 'metadata') diff --git a/metadata/scripts/update-and-validate.sh b/metadata/scripts/update-and-validate.sh index b1c59804..f152b49b 100755 --- a/metadata/scripts/update-and-validate.sh +++ b/metadata/scripts/update-and-validate.sh @@ -3,9 +3,6 @@ update() { -# echo "git pull" -# git pull -q || return $? - mkdir -p .time # Remove old entitys from DB @@ -16,11 +13,6 @@ update() done rm /tmp/$$.xml /tmp/$$.time - # remove some flag-files to get DB refreshed - if [ $(find .time/ -ctime +15 -type f | wc -l) -ne 0 ]; then - rm `find .time/ -ctime +15 -type f | tail -10` - fi - # Update/Import "new" xml-files make -f Makefile.validate -s -- cgit v1.2.3