We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a4f59e + e7fadac commit 43682bdCopy full SHA for 43682bd
developer_manual/digging_deeper/profiler.rst
@@ -13,9 +13,9 @@ using the latest development version of Nextcloud.
13
14
.. code-block:: bash
15
16
+ major_version=$(sudo -E -u www-data php occ version 2>&1 | awk -F'[. ]' '{print $2;exit}')
17
cd apps/
- git clone --branch stableX https://github.com/nextcloud/profiler.git
18
- # adapt X to your Nextcloud version: sudo -E -u www-data php occ version | grep -oP 'Nextcloud \K\d+'
+ git clone --branch stable$major_version https://github.com/nextcloud/profiler.git
19
cd profiler
20
cd ../..
21
0 commit comments