From cf9359395ddf144396af63e0c5f5fd99cfeb936e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 25 Mar 2023 12:01:03 +0100 Subject: [PATCH] Update 02-init_steps.sh --- nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 3259e874e..eb1d9bd82 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -28,6 +28,10 @@ done # CHECK STATUS # ################ +# Get launcher +LAUNCHER="sudo -u abc php /data/config/www/nextcloud/occ" +LAUNCHER="${LAUNCHER:-occ}" + # If not installed, or files not available if [[ $($LAUNCHER -V 2>&1) == *"not installed"* ]] || [ ! -f /data/config/www/nextcloud/version.php ]; then bashio::log.green "--------------------------------------------------------------------------------------------------------------"