summaryrefslogtreecommitdiffstats
path: root/13.0/fpm/entrypoint.sh
diff options
context:
space:
mode:
authorMarc Brückner <marc@ma-br.de>2018-09-14 08:25:49 +0200
committerMarc Brückner <marc@ma-br.de>2018-09-14 08:25:49 +0200
commitbdc2d3e6103af64c284ebc849e4bcfd65446179e (patch)
treef3a85d4b5abf90b336f0c72fff44564fcfcdbf5f /13.0/fpm/entrypoint.sh
parenta3cce50b00a4d0568f12de6043e797e803b95157 (diff)
fix regex for apache
Diffstat (limited to '13.0/fpm/entrypoint.sh')
-rwxr-xr-x13.0/fpm/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/13.0/fpm/entrypoint.sh b/13.0/fpm/entrypoint.sh
index dd019a84..8e748971 100755
--- a/13.0/fpm/entrypoint.sh
+++ b/13.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