From 6d981b7f8ddb88357e97ec227c074af2476d474e Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 8 Jul 2017 16:31:08 +0200 Subject: [PATCH] [update.sh] Missing echo, more information --- update.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index cb62c76c..9da208b4 100755 --- a/update.sh +++ b/update.sh @@ -132,6 +132,7 @@ echo -e "\e[32mStarting mailcow...\e[0m" sleep 2 docker-compose up -d --remove-orphans +echo -e "\e[32mCollecting garbage...\e[0m" IMGS_TO_DELETE=() for container in $(grep -oP "image: \Kmailcow.+" docker-compose.yml); do REPOSITORY=${container/:*} @@ -164,11 +165,11 @@ if [[ ! -z ${IMGS_TO_DELETE[*]} ]]; then if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then docker rmi ${IMGS_TO_DELETE[*]} else - "OK, skipped." + echo "OK, skipped." fi fi - -echo -e "\e[32mIf you want to cleanup further garbage collected by Docker, please make sure all containers are up and running before cleaning your system by executing \"docker system prune\".\e[0m" +echo -e "\e[32mFurther cleanup...\e[0m" +echo "If you want to cleanup further garbage collected by Docker, please make sure all containers are up and running before cleaning your system by executing \"docker system prune\"" #echo "In case you encounter any problem, hard-reset to a state before updating mailcow:" #echo