Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-03-25 12:02:33 +01:00
committed by GitHub
parent cf9359395d
commit 6d7ffb8875

View File

@@ -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