From c92e718d08b44f4d178551174eb472fc0e964de1 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Mon, 4 Nov 2019 14:57:40 +0100 Subject: [PATCH] :bug: Fix test to copy Mautic sources Signed-off-by: mathieu.brunot --- apache/docker-entrypoint.sh | 2 +- beta-apache/docker-entrypoint.sh | 2 +- beta-fpm/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 0445448a..c78ad079 100755 --- a/apache/docker-entrypoint.sh +++ b/apache/docker-entrypoint.sh @@ -86,7 +86,7 @@ if [ -n "$MAUTIC_CRON_DYNAMICS" ]; then echo "10,40 * * * * www-data php /var/www/html/app/console mautic:integration:fetchleads -i Dynamics > /var/log/cron.pipe 2>&1" >> /etc/cron.d/mautic fi -if ! [ -e index.php ] && [ -e app/AppKernel.php ]; then +if ! [ -e index.php ] && ! [ -e app/AppKernel.php ]; then echo >&2 "Mautic not found in $(pwd) - copying now..." if [ "$(ls -A)" ]; then diff --git a/beta-apache/docker-entrypoint.sh b/beta-apache/docker-entrypoint.sh index 17c759ce..95c2a4df 100644 --- a/beta-apache/docker-entrypoint.sh +++ b/beta-apache/docker-entrypoint.sh @@ -85,7 +85,7 @@ if [ -n "$MAUTIC_CRON_DYNAMICS" ]; then echo "10,40 * * * * www-data php /var/www/html/app/console mautic:integration:fetchleads -i Dynamics > /var/log/cron.pipe 2>&1" >> /etc/cron.d/mautic fi -if ! [ -e index.php ] && [ -e app/AppKernel.php ]; then +if ! [ -e index.php ] && ! [ -e app/AppKernel.php ]; then echo >&2 "Mautic not found in $(pwd) - copying now..." if [ "$(ls -A)" ]; then diff --git a/beta-fpm/docker-entrypoint.sh b/beta-fpm/docker-entrypoint.sh index d3d7b2ba..b583ca90 100644 --- a/beta-fpm/docker-entrypoint.sh +++ b/beta-fpm/docker-entrypoint.sh @@ -85,7 +85,7 @@ if [ -n "$MAUTIC_CRON_DYNAMICS" ]; then echo "10,40 * * * * www-data php /var/www/html/app/console mautic:integration:fetchleads -i Dynamics > /var/log/cron.pipe 2>&1" >> /etc/cron.d/mautic fi -if ! [ -e index.php ] && [ -e app/AppKernel.php ]; then +if ! [ -e index.php ] && ! [ -e app/AppKernel.php ]; then echo >&2 "Mautic not found in $(pwd) - copying now..." if [ "$(ls -A)" ]; then diff --git a/fpm/docker-entrypoint.sh b/fpm/docker-entrypoint.sh index 0445448a..c78ad079 100755 --- a/fpm/docker-entrypoint.sh +++ b/fpm/docker-entrypoint.sh @@ -86,7 +86,7 @@ if [ -n "$MAUTIC_CRON_DYNAMICS" ]; then echo "10,40 * * * * www-data php /var/www/html/app/console mautic:integration:fetchleads -i Dynamics > /var/log/cron.pipe 2>&1" >> /etc/cron.d/mautic fi -if ! [ -e index.php ] && [ -e app/AppKernel.php ]; then +if ! [ -e index.php ] && ! [ -e app/AppKernel.php ]; then echo >&2 "Mautic not found in $(pwd) - copying now..." if [ "$(ls -A)" ]; then