mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -30,7 +30,9 @@ done
|
|||||||
|
|
||||||
# Get launcher
|
# Get launcher
|
||||||
LAUNCHER="sudo -u abc php /data/config/www/nextcloud/occ"
|
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 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
|
||||||
|
|||||||
Reference in New Issue
Block a user