diff options
author | Tilo Spannagel <development@tilosp.de> | 2018-10-16 18:30:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 18:30:39 +0200 |
commit | 424364e2e10a9d6e1a31e6659e2149aac1f1c772 (patch) | |
tree | c714ffd0b61f0c3c2d84be2ea6be3b63dbca0041 /14.0/fpm | |
parent | 3838458843b9115179791f693e7afa65d6e22eed (diff) | |
parent | b3df4606be6ad9f7114dfbbd0ae094a0d49872eb (diff) |
Merge pull request #515 from SnowMB/add_update_variable
Add NEXTCLOUD_UPDATE for containers started with non-default commands
Diffstat (limited to '14.0/fpm')
-rwxr-xr-x | 14.0/fpm/entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/14.0/fpm/entrypoint.sh b/14.0/fpm/entrypoint.sh index 1f03c913..045227e8 100755 --- a/14.0/fpm/entrypoint.sh +++ b/14.0/fpm/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 |