diff options
author | Tilo Spannagel <development@tilosp.de> | 2018-03-13 11:16:01 +0100 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2018-03-13 11:16:01 +0100 |
commit | a3250b89d1ecfb274b98b9ff796fa2e080244560 (patch) | |
tree | 04e122f21f76a7c24e859f7503b5eff422261ad2 /13.0/apache/entrypoint.sh | |
parent | d104e1cba04adcbb8d4e310598eec747ba4ddd6d (diff) |
Run update.sh13.0.1RC1-fpm-alpine13.0.1RC1-fpm13.0.1RC1-apache13.0.1RC113.0.1-rc-fpm-alpine13.0.1-rc-fpm13.0.1-rc-apache13.0.1-rc13.0.0-fpm-alpine13.0.0-fpm13.0.0-apache13.0.012.0.6RC1-fpm-alpine12.0.6RC1-fpm12.0.6RC1-apache12.0.6RC112.0.6-rc-fpm-alpine12.0.6-rc-fpm12.0.6-rc-apache12.0.6-rc12.0.5-fpm-alpine12.0.5-fpm12.0.5-apache12.0.511.0.8RC1-fpm-alpine11.0.8RC1-fpm11.0.8RC1-apache11.0.8RC111.0.8-rc-fpm-alpine11.0.8-rc-fpm11.0.8-rc-apache11.0.8-rc11.0.7-fpm-alpine11.0.7-fpm11.0.7-apache11.0.711.0-rc-fpm-alpine11.0-rc-fpm11.0-rc-apache11.0-rc11-rc-fpm-alpine11-rc-fpm11-rc-apache11-rc
Diffstat (limited to '13.0/apache/entrypoint.sh')
-rwxr-xr-x | 13.0/apache/entrypoint.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/13.0/apache/entrypoint.sh b/13.0/apache/entrypoint.sh index 9298bb47..0568aac1 100755 --- a/13.0/apache/entrypoint.sh +++ b/13.0/apache/entrypoint.sh @@ -21,9 +21,9 @@ function run_as() { installed_version="0.0.0~unknown" if [ -f /var/www/html/version.php ]; then - installed_version=$(php -r 'require "/var/www/html/version.php"; echo "$OC_VersionString";') + installed_version=$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);') fi -image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo "$OC_VersionString";') +image_version=$(php -r 'require "/usr/src/nextcloud/version.php"; echo implode(".", $OC_Version);') if version_greater "$installed_version" "$image_version"; then echo "Can't start Nextcloud because the version of the data ($installed_version) is higher than the docker image version ($image_version) and downgrading is not supported. Are you sure you have pulled the newest image version?" |