X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a6f0a90f05a91a3724c31184c056fd868dc94dce..b5977d65e97f6fcfccddefedf619de4902e45d31:/cookbooks/nominatim/templates/default/updater.erb diff --git a/cookbooks/nominatim/templates/default/updater.erb b/cookbooks/nominatim/templates/default/updater.erb index d5ba2e0be..ade5845aa 100644 --- a/cookbooks/nominatim/templates/default/updater.erb +++ b/cookbooks/nominatim/templates/default/updater.erb @@ -34,4 +34,9 @@ do fi popd <% end -%> + + if [ -f "<%= @update_maintenance_trigger %>" ]; then + rm <%= @update_maintenance_trigger %> + ./utils/update.php --calculate-postcodes + fi done