Update 02-init_steps.sh

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

View File

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