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:
@@ -43,6 +43,8 @@ else
|
||||
CURRENTVERSION="Not found"
|
||||
fi
|
||||
|
||||
echo " "
|
||||
|
||||
# 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 "--------------------------------------------------------------------------------------------------------------"
|
||||
@@ -72,6 +74,8 @@ elif ! grep -q "/mnt/" /data/config/www/nextcloud/config/config.php; then
|
||||
bashio::exit.nok
|
||||
fi
|
||||
|
||||
echo " "
|
||||
|
||||
#########################
|
||||
# INFORM IF NEW VERSION #
|
||||
#########################
|
||||
|
||||
Reference in New Issue
Block a user