From cf972bda5bd94b8abbfbea92579663a76123e40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 18 Jul 2024 21:55:07 +0200 Subject: [PATCH] fix: Proper check for standalone container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- docker/bin/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/bin/bootstrap.sh b/docker/bin/bootstrap.sh index 9df16be..1b47558 100755 --- a/docker/bin/bootstrap.sh +++ b/docker/bin/bootstrap.sh @@ -388,7 +388,7 @@ check_source() { output "Server source is mounted, continuing" else # Only autoinstall when not running in docker compose - if [ -n "$NEXTCLOUD_AUTOINSTALL_APPS" ] && [ ! -f "$WEBROOT"/config/version.php ] + if [ -n "$VIRTUAL_HOST" ] && [ ! -f "$WEBROOT"/version.php ] then output "=======================================================================================" output " 🚨 Could not find a valid Nextcloud source in $WEBROOT "