nominatim: update address level table on git changes
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 16 Jun 2019 19:43:49 +0000 (21:43 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 16 Jun 2019 19:43:49 +0000 (21:43 +0200)
cookbooks/nominatim/templates/default/git-post-merge-hook.erb

index dbd3ddbdd09cc8aa3579cb567a8fe635dd8bc493..a1ee3179508274024ec22b1195bfb8da030c55f4 100644 (file)
@@ -14,4 +14,5 @@ make
 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/update.php --update-address-levels
 fi