mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-26 06:26:28 +01:00
Update 02-init_steps.sh
This commit is contained in:
@@ -35,7 +35,7 @@ LAUNCHER="apk"
|
||||
fi
|
||||
|
||||
# Check current version
|
||||
if [ -f /data/config/www/nextcloud/version.php]; then
|
||||
if [ -f /data/config/www/nextcloud/version.php ]; then
|
||||
CURRENTVERSION="$(sed -n "s|.*\OC_VersionString = '*\(.*[^ ]\) *';.*|\1|p" /data/config/www/nextcloud/version.php)"
|
||||
else
|
||||
CURRENTVERSION="Not found"
|
||||
|
||||
Reference in New Issue
Block a user