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