mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-30 05:22:41 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -28,6 +28,10 @@ done
|
|||||||
# CHECK STATUS #
|
# 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 not installed, or files not available
|
||||||
if [[ $($LAUNCHER -V 2>&1) == *"not installed"* ]] || [ ! -f /data/config/www/nextcloud/version.php ]; then
|
if [[ $($LAUNCHER -V 2>&1) == *"not installed"* ]] || [ ! -f /data/config/www/nextcloud/version.php ]; then
|
||||||
bashio::log.green "--------------------------------------------------------------------------------------------------------------"
|
bashio::log.green "--------------------------------------------------------------------------------------------------------------"
|
||||||
|
|||||||
Reference in New Issue
Block a user