From 7cd2b5b46fd66925a13c57c6aa533eb5e2fa99a2 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 23 Dec 2019 16:18:42 +0100 Subject: [PATCH] Use url.php since it is available on all versions Signed-off-by: William Desportes --- apache/docker-entrypoint.sh | 2 +- docker-entrypoint.sh | 2 +- fpm-alpine/docker-entrypoint.sh | 2 +- fpm/docker-entrypoint.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apache/docker-entrypoint.sh b/apache/docker-entrypoint.sh index a5e1bcc..4ae8216 100755 --- a/apache/docker-entrypoint.sh +++ b/apache/docker-entrypoint.sh @@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then chown ${user}:${group} /sessions /var/nginx/client_body_temp - if ! [ -e index.php -a -e db_designer.php ]; then + if ! [ -e index.php -a -e url.php ]; then echo >&2 "phpMyAdmin not found in $PWD - copying now..." if [ "$(ls -A)" ]; then echo >&2 "WARNING: $PWD is not empty - press Ctrl+C now if this is an error!" diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index f54023e..ad586c5 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then chown ${user}:${group} /sessions /var/nginx/client_body_temp - if ! [ -e index.php -a -e db_designer.php ]; then + if ! [ -e index.php -a -e url.php ]; then echo >&2 "phpMyAdmin not found in $PWD - copying now..." if [ "$(ls -A)" ]; then echo >&2 "WARNING: $PWD is not empty - press Ctrl+C now if this is an error!" diff --git a/fpm-alpine/docker-entrypoint.sh b/fpm-alpine/docker-entrypoint.sh index a5e1bcc..4ae8216 100755 --- a/fpm-alpine/docker-entrypoint.sh +++ b/fpm-alpine/docker-entrypoint.sh @@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then chown ${user}:${group} /sessions /var/nginx/client_body_temp - if ! [ -e index.php -a -e db_designer.php ]; then + if ! [ -e index.php -a -e url.php ]; then echo >&2 "phpMyAdmin not found in $PWD - copying now..." if [ "$(ls -A)" ]; then echo >&2 "WARNING: $PWD is not empty - press Ctrl+C now if this is an error!" diff --git a/fpm/docker-entrypoint.sh b/fpm/docker-entrypoint.sh index a5e1bcc..4ae8216 100755 --- a/fpm/docker-entrypoint.sh +++ b/fpm/docker-entrypoint.sh @@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then chown ${user}:${group} /sessions /var/nginx/client_body_temp - if ! [ -e index.php -a -e db_designer.php ]; then + if ! [ -e index.php -a -e url.php ]; then echo >&2 "phpMyAdmin not found in $PWD - copying now..." if [ "$(ls -A)" ]; then echo >&2 "WARNING: $PWD is not empty - press Ctrl+C now if this is an error!"