diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-02-21 13:08:13 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-02-21 13:08:13 +0100 |
commit | a8b8ba7558bc760363c016779b771f9de81aabc9 (patch) | |
tree | 981604c996f9890e2f8ffc2124e91f2903af9a35 /scripts | |
parent | 482ba52885c7c35914a2fb4c1c7bdff0de5043a1 (diff) |
SWAMID-2669 Added bookstack.sai.kau.se
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-and-validate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |