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