X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/dca9aff59c1ecd82f2f17c1a91b5eebed19700f7..HEAD:/cookbooks/nominatim/templates/default/git-post-merge-hook.erb diff --git a/cookbooks/nominatim/templates/default/git-post-merge-hook.erb b/cookbooks/nominatim/templates/default/git-post-merge-hook.erb deleted file mode 100644 index fc806f1b4..000000000 --- a/cookbooks/nominatim/templates/default/git-post-merge-hook.erb +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# DO NOT EDIT - This file is being maintained by Chef - -cd <%= @srcdir %> - -git submodule update - -cd <%= @builddir %> - -cmake <%= @srcdir %> && -make - -psql -d <%= @dbname %> -c "SELECT version();" >/dev/null 2>&1 -if [[ "$?" == "0" ]]; then - ./nominatim refresh --functions --address-levels --website -fi