X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b4dee5010807e90cf177bfbd3e3bbbf51cf33fbe..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb b/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb index ff70bea45..7156342e3 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb @@ -6,12 +6,5 @@ date "+%c === Refresh database after software updates" cd <%= @projectdir %> -<% if node.platform?("debian") -%> <%= @venvprefix %>nominatim admin --migrate <%= @venvprefix %>nominatim refresh --functions --address-levels -<% else -%> -# Run the migrations from the nominatim version in the build directory, -# so they can execute while the frontend doesn't have the new code yet. -<%= @builddir %>/nominatim admin --migrate -<%= @builddir %>/nominatim refresh --functions --address-levels --website -<% end -%>