]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb
nominatim: remove all code related to former Ubuntu install
[chef.git] / cookbooks / nominatim / templates / default / nominatim-update-refresh-db.erb
index ff70bea457a4814a657a5b7d3111f48d5f14750f..7156342e3f8c3138ffa8e0e83e92f832ddf324b7 100644 (file)
@@ -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 -%>