diff options
author | Marc Brückner <marc@ma-br.de> | 2018-09-14 08:25:49 +0200 |
---|---|---|
committer | Marc Brückner <marc@ma-br.de> | 2018-09-14 08:25:49 +0200 |
commit | bdc2d3e6103af64c284ebc849e4bcfd65446179e (patch) | |
tree | f3a85d4b5abf90b336f0c72fff44564fcfcdbf5f /14.0 | |
parent | a3cce50b00a4d0568f12de6043e797e803b95157 (diff) |
fix regex for apache
Diffstat (limited to '14.0')
-rwxr-xr-x | 14.0/apache/entrypoint.sh | 2 | ||||
-rwxr-xr-x | 14.0/fpm-alpine/entrypoint.sh | 2 | ||||
-rwxr-xr-x | 14.0/fpm/entrypoint.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/14.0/apache/entrypoint.sh b/14.0/apache/entrypoint.sh index dd019a84..8e748971 100755 --- a/14.0/apache/entrypoint.sh +++ b/14.0/apache/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" ]; then installed_version="0.0.0.0" if [ -f /var/www/html/version.php ]; then # shellcheck disable=SC2016 diff --git a/14.0/fpm-alpine/entrypoint.sh b/14.0/fpm-alpine/entrypoint.sh index dd019a84..8e748971 100755 --- a/14.0/fpm-alpine/entrypoint.sh +++ b/14.0/fpm-alpine/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" ]; then installed_version="0.0.0.0" if [ -f /var/www/html/version.php ]; then # shellcheck disable=SC2016 diff --git a/14.0/fpm/entrypoint.sh b/14.0/fpm/entrypoint.sh index dd019a84..8e748971 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" ]; then installed_version="0.0.0.0" if [ -f /var/www/html/version.php ]; then # shellcheck disable=SC2016 |