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