From 673ca8ddc4e632d33408ed1bf8607c3f59d4e0c3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 23 Mar 2023 21:39:22 +0100 Subject: [PATCH] Update 02-init_steps.sh --- nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh index 966ad001f..a5e0c5263 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -29,7 +29,7 @@ done ###################### echo "Checking installation" -if [[ "$(occ --version >/dev/null)" == *"Composer autoloader not found"* ]]; then +if [[ "$(occ -V)" == *"Composer autoloader not found"* ]]; then bashio::log.fatal "Issue with installation detected, reinstallation will proceed" bashio::log.fatal "-------------------------------------------------------------." bashio::log.fatal " "