]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/git-post-merge-hook.erb
nominatim: add nominatim tool to global path
[chef.git] / cookbooks / nominatim / templates / default / git-post-merge-hook.erb
index 92ff6af95bf6e0be3214163ff265181920db2dd8..df72efefbd404b6df5040735afa10d0e4bcaa059 100644 (file)
@@ -13,6 +13,6 @@ make
 
 psql -d <%= @dbname %> -c "SELECT version();" >/dev/null 2>&1
 if [[ "$?" == "0" ]]; then
-  ./nominatim admin --migrate
-  ./nominatim refresh --functions --address-levels --website
+  nominatim admin --migrate
+  nominatim refresh --functions --address-levels --website
 fi