From: Sarah Hoffmann Date: Tue, 12 Jul 2022 07:13:24 +0000 (+0200) Subject: nominatim: also check for linked maintenance tasks X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/a28bc23e0afaa069126e23b57c3b70f493c3e0c6 nominatim: also check for linked maintenance tasks --- diff --git a/cookbooks/nominatim/templates/default/nominatim-update-data.erb b/cookbooks/nominatim/templates/default/nominatim-update-data.erb index 733c38105..69c832e53 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-data.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-data.erb @@ -8,7 +8,7 @@ cd <%= @projectdir %> # First execute any maintenance task that may be there. -for task in `find <%= @bindir %>/maintenance -type f`; do +for task in `find <%= @bindir %>/maintenance -type f,l`; do date "+%c === Running maintenance task ${task}" . ${task} rm ${task}