Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-03-26 18:22:46 +02:00
committed by GitHub
parent aa44eba29a
commit a29c436f26

View File

@@ -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 #
#########################