From d4b941c3619cfc736eac85016ceb5dc45847c756 Mon Sep 17 00:00:00 2001 From: Michael Stenta Date: Fri, 10 Apr 2020 09:43:04 -0400 Subject: [PATCH] Add some informative text to Docker entrypoint scripts when files are copied automatically. --- docker/dev/docker-entrypoint.sh | 1 + docker/docker-entrypoint.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/dev/docker-entrypoint.sh b/docker/dev/docker-entrypoint.sh index 0228d1088..65aaacc95 100644 --- a/docker/dev/docker-entrypoint.sh +++ b/docker/dev/docker-entrypoint.sh @@ -3,6 +3,7 @@ set -e # If the webroot directory is empty, copy from /tmp/www. if ! [ "$(ls -A /var/www/html/)" ]; then + echo "farmOS webroot not detected. Copying from pre-built codebase in the Docker image." cp -rp /tmp/www/. /var/www/html fi diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index ce519d23b..29cae85a0 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -3,6 +3,7 @@ set -e # If the sites directory is empty, copy from /tmp/sites. if ! [ "$(ls -A /var/www/html/sites/)" ]; then + echo "farmOS sites directory not detected. Copying from pre-built codebase in the Docker image." cp -rp /tmp/sites/. /var/www/html/sites fi