Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/docker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Brückner <marc@ma-br.de>2018-10-13 23:19:16 +0300
committerMarc Brückner <marc@ma-br.de>2018-10-15 16:01:39 +0300
commit63710a75a346f5445f96d1daa0cd93248a9eaedb (patch)
treef785645f93941b54c127cf453ace31d4860090c6 /docker-entrypoint.sh
parent3770bbcb267e23c492c8d427b22818b7b8329486 (diff)
added new environment variable
Diffstat (limited to 'docker-entrypoint.sh')
-rwxr-xr-xdocker-entrypoint.sh2
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