print red if community container was not found

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-09-28 14:01:28 +02:00
parent c447a4defc
commit 39e12a7af1

View file

@ -245,7 +245,7 @@ if [ -n "$AIO_COMMUNITY_CONTAINERS" ]; then
read -ra AIO_CCONTAINERS <<< "$AIO_COMMUNITY_CONTAINERS" read -ra AIO_CCONTAINERS <<< "$AIO_COMMUNITY_CONTAINERS"
for container in "${AIO_CCONTAINERS[@]}"; do for container in "${AIO_CCONTAINERS[@]}"; do
if ! [ -d "/var/www/docker-aio/community-containers/$container" ]; then if ! [ -d "/var/www/docker-aio/community-containers/$container" ]; then
echo "The community container $container was not found!" print_red "The community container $container was not found!"
FAIL_CCONTAINERS=1 FAIL_CCONTAINERS=1
fi fi
done done