X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a6f0a90f05a91a3724c31184c056fd868dc94dce..027e6c6a30ad50302390f6ea56d3bbf7a49f4fdf:/cookbooks/nominatim/templates/default/updater.erb?ds=sidebyside 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