./utils/update.php --no-npi --import-osmosis
- # will trigger recompilation if necessary
- if ! git pull; then
- echo "WARNING: git update failed."
+ if git fetch origin; then
+ # will trigger recompilation if necessary
+ git merge origin/master
+ else
+ echo "WARNING: git fetch failed."
fi
# sleep a bit if updates take less than a minute