From 1e6d0620af955df9430046570ed23817f381dba5 Mon Sep 17 00:00:00 2001 From: J0WI Date: Tue, 28 Jul 2020 14:40:22 +0200 Subject: Revert "Fix triggering install and update script (#1181)" This reverts commit de90bed706d03973c8181b695e0207fa45847c28. --- 19.0/fpm-alpine/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '19.0/fpm-alpine') diff --git a/19.0/fpm-alpine/entrypoint.sh b/19.0/fpm-alpine/entrypoint.sh index f1dd332c..b9ec5fc5 100755 --- a/19.0/fpm-alpine/entrypoint.sh +++ b/19.0/fpm-alpine/entrypoint.sh @@ -43,13 +43,13 @@ file_env() { unset "$fileVar" } -if expr "$1" : "apache2-foreground" 1>/dev/null; then +if expr "$1" : "apache" 1>/dev/null; then if [ -n "${APACHE_DISABLE_REWRITE_IP+x}" ]; then a2disconf remoteip fi fi -if expr "$1" : "apache2-foreground" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then +if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UPDATE:-0}" -eq 1 ]; then if [ -n "${REDIS_HOST+x}" ]; then echo "Configuring Redis as session handler" -- cgit v1.2.3