From a8b8ba7558bc760363c016779b771f9de81aabc9 Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Tue, 21 Feb 2023 13:08:13 +0100 Subject: SWAMID-2669 Added bookstack.sai.kau.se --- scripts/update-and-validate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/update-and-validate.sh b/scripts/update-and-validate.sh index 07057918..a4a1bddb 100755 --- a/scripts/update-and-validate.sh +++ b/scripts/update-and-validate.sh @@ -15,8 +15,8 @@ update() rm /tmp/$$.xml /tmp/$$.time # remove some flag-files to get DB refreshed - if [ $(find .time/ -ctime +15 | wc -l) -ne 0 ]; then - rm `find .time/ -ctime +15 | tail -10` + 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 -- cgit v1.2.3