summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-03-10 09:30:23 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-03-10 09:30:23 +0100
commit3d42b2b0a18ef20f62653faee2ea192fa957c89f (patch)
tree3130b4fe00b43b557478491aa02600ec457c1219 /metadata
parent0498ce1b36ed59a203bfb9c40e3eefd88d0b9ec6 (diff)
Remove part to reimport files every 15 days.md-2023-03-10-v03
Will be done as script in metadata-tool instead
Diffstat (limited to 'metadata')
-rwxr-xr-xmetadata/scripts/update-and-validate.sh8
1 files changed, 0 insertions, 8 deletions
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