./utils/update.php --no-npi --import-osmosis
- # will trigger recompilation if necessary
- git pull
+ 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
endtime=`date +%s`