command "cmake #{source_directory} && make"
end
+link "/usr/local/bin/nominatim" do
+ to "#{build_directory}/nominatim"
+end
+
template "#{source_directory}/.git/hooks/post-merge" do
source "git-post-merge-hook.erb"
owner "nominatim"
psql -d <%= @dbname %> -c "SELECT version();" >/dev/null 2>&1
if [[ "$?" == "0" ]]; then
- ./nominatim admin --migrate
- ./nominatim refresh --functions --address-levels --website
+ nominatim admin --migrate
+ nominatim refresh --functions --address-levels --website
fi