Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ncp-templates/nextcloud.conf.sh')
-rw-r--r--etc/ncp-templates/nextcloud.conf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ncp-templates/nextcloud.conf.sh b/etc/ncp-templates/nextcloud.conf.sh
index 196e56c8..464b0db5 100644
--- a/etc/ncp-templates/nextcloud.conf.sh
+++ b/etc/ncp-templates/nextcloud.conf.sh
@@ -13,7 +13,7 @@ if [[ "$1" != "--defaults" ]]; then
)"
fi
-if [[ "$DOCKERBUILD" != 1 ]] && [[ "$1" != "--defaults" ]]; then
+if [[ -f /.docker-image ]] && [[ "$1" != "--defaults" ]]; then
METRICS_IS_ENABLED="$(
source "${BINDIR}/SYSTEM/metrics.sh"
tmpl_metrics_enabled && echo yes || echo no