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