Skip to content

Commit e7fadac

Browse files
sputnick-devszaimen
authored andcommitted
Add sudo command
Signed-off-by: Gilles Quénot <[email protected]>
1 parent 743b445 commit e7fadac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developer_manual/digging_deeper/profiler.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using the latest development version of Nextcloud.
1313

1414
.. code-block:: bash
1515
16-
major_version=$(php occ version 2>&1 | awk -F'[. ]' '{print $2;exit}')
16+
major_version=$(sudo -E -u www-data php occ version 2>&1 | awk -F'[. ]' '{print $2;exit}')
1717
cd apps/
1818
git clone --branch stable$major_version https://github.com/nextcloud/profiler.git
1919
cd profiler

0 commit comments

Comments
 (0)