mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
ncp-report: Don't rely on functions defined in library.sh
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
a0f16c6443
commit
d98356e335
@ -15,7 +15,7 @@ function open_summary()
|
||||
{
|
||||
echo "
|
||||
<details>
|
||||
<summary>$@</summary>
|
||||
<summary>$*</summary>
|
||||
|
||||
\`\`\`
|
||||
"
|
||||
@ -62,8 +62,7 @@ close_summary
|
||||
|
||||
##
|
||||
|
||||
DATADIR="$( get_nc_config_value datadirectory ||
|
||||
grep datadirectory /var/www/nextcloud/config/config.php |
|
||||
DATADIR="$( grep datadirectory /var/www/nextcloud/config/config.php |
|
||||
awk '{ print $3 }' | grep -oP "[^']*[^']" | head -1 )"
|
||||
|
||||
open_summary "Nextcloud logs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user