diff options
author | Marc Brückner <marc@ma-br.de> | 2018-10-13 23:19:16 +0300 |
---|---|---|
committer | Marc Brückner <marc@ma-br.de> | 2018-10-15 16:01:39 +0300 |
commit | 63710a75a346f5445f96d1daa0cd93248a9eaedb (patch) | |
tree | f785645f93941b54c127cf453ace31d4860090c6 /docker-entrypoint.sh | |
parent | 3770bbcb267e23c492c8d427b22818b7b8329486 (diff) |
added new environment variable
Diffstat (limited to 'docker-entrypoint.sh')
-rwxr-xr-x | docker-entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c1c106c..c1c610d 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -19,7 +19,7 @@ run_as() { fi } -if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then +if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then installed_version="0.0.0.0" if [ -f /var/www/html/version.php ]; then # shellcheck disable=SC2016 |