Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-03-25 12:06:07 +01:00
committed by GitHub
parent 5def1c1995
commit 03a9e079c2

View File

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