#!/bin/bash # DO NOT EDIT - This file is being maintained by Chef cd <%= @source_directory %> ./autogen.sh && ./configure && make psql -d <%= node[:nominatim][:database][:dbname] %> -c "SELECT version();" >/dev/null 2>&1 if [[ "$?" == "0" ]]; then ./utils/setup.php --create-functions --create-partition-functions --enable-diff-updates fi