3 # DO NOT EDIT - This file is being maintained by Chef
5 # Note: the script must return 0 only when new updates have been applied.
7 date "+%c === Checking for new versions of Nominatim"
14 if git diff --exit-code <%= node[:nominatim][:revision] %> >/dev/null; then
15 # signal that there are no new updates
19 git checkout --detach <%= node[:nominatim][:revision] %>