]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/git-post-merge-hook.erb
Bump cookstyle from 7.21.0 to 7.22.3
[chef.git] / cookbooks / nominatim / templates / default / git-post-merge-hook.erb
index 9c20abaca0f13cad279ccda0a5687d09cb5ee7b2..92ff6af95bf6e0be3214163ff265181920db2dd8 100644 (file)
@@ -13,7 +13,6 @@ make
 
 psql -d <%= @dbname %> -c "SELECT version();" >/dev/null 2>&1
 if [[ "$?" == "0" ]]; then
 
 psql -d <%= @dbname %> -c "SELECT version();" >/dev/null 2>&1
 if [[ "$?" == "0" ]]; then
-  ./utils/setup.php --create-functions --create-partition-functions --enable-diff-updates
-  ./utils/setup.php --setup-website
-  ./utils/update.php --update-address-levels
+  ./nominatim admin --migrate
+  ./nominatim refresh --functions --address-levels --website
 fi
 fi