We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94992dd commit 5a0612cCopy full SHA for 5a0612c
root/etc/s6-overlay/s6-rc.d/init-nextcloud-config/run
@@ -34,8 +34,8 @@ for dir in apps config themes; do
34
done
35
36
# get versions
37
-image_version=$(php -r "require '/app/www/src/version.php'; echo implode('.', \$OC_Version);" 2>/dev/null)
38
-installed_version=$(php -r "require '/config/www/nextcloud/config/config.php'; echo \$CONFIG['version'];" 2>/dev/null)
+image_version=$(php -r "require '/app/www/src/version.php'; echo implode('.', \$OC_Version);" 2>/dev/null | xargs)
+installed_version=$(php -r "require '/config/www/nextcloud/config/config.php'; echo \$CONFIG['version'];" 2>/dev/null | xargs)
39
if [ "${installed_version}" = "" ]; then
40
installed_version="0.0.0.0"
41
fi
0 commit comments