In the previous command, the `|&` was not a typo but intentional. Was removed outside of github AFAIK.
The output of `php occ version` is on `STDERR`.
Anyway, now this is a POSIX way to detect version.
Signed-off-by: Gilles Quénot <gq@sputnick.fr>
Use `sudo -E -u www-data php occ` everywhere.
Motivation: this should work on more appliances like also inside docker containers.
Signed-off-by: Simon L. <szaimen@e.mail.de>