standardize occ command documentation

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>
This commit is contained in:
Simon L.
2025-04-29 10:16:49 +02:00
parent bc9cdd184e
commit 495247ae4a
34 changed files with 247 additions and 249 deletions

View File

@@ -15,7 +15,7 @@ using the latest development version of Nextcloud.
cd apps/
git clone --branch stableX https://github.com/nextcloud/profiler.git
# adapt X to your Nextcloud version: php occ version | grep -oP 'Nextcloud \K\d+'
# adapt X to your Nextcloud version: sudo -E -u www-data php occ version | grep -oP 'Nextcloud \K\d+'
cd profiler
cd ../..