Add logging to the automatic update script.

Enquote the variables so the multilines process in auto updater.

Return exit code of the script in postreceive.php

Change `git pull' to `git checkout'.

Update postreceive - www-data should be able to execute the shell script now.

Definitely need a git pull, not git checkout.

Check for isnumeric rather than isint, rename variable to make more sense.

Convert value to integer while we're at it.

Revert change `run script as sudo'.

Run automatic updater in a cronjob instead. /give_up