mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 02-init_steps.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user