mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-18 13:29:14 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -43,6 +43,8 @@ else
|
|||||||
CURRENTVERSION="Not found"
|
CURRENTVERSION="Not found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo " "
|
||||||
|
|
||||||
# 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 "--------------------------------------------------------------------------------------------------------------"
|
||||||
@@ -72,6 +74,8 @@ elif ! grep -q "/mnt/" /data/config/www/nextcloud/config/config.php; then
|
|||||||
bashio::exit.nok
|
bashio::exit.nok
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo " "
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# INFORM IF NEW VERSION #
|
# INFORM IF NEW VERSION #
|
||||||
#########################
|
#########################
|
||||||
|
|||||||
Reference in New Issue
Block a user