From 182b7826bda9be94c0652c2ff2566e2fac75b220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Thu, 12 Apr 2018 21:52:32 +0200 Subject: [PATCH] Fix compose project name, take #3 --- update.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/update.sh b/update.sh index 0f93dbd1..fc4410c3 100755 --- a/update.sh +++ b/update.sh @@ -208,9 +208,8 @@ docker-compose pull --parallel cp -n data/assets/ssl-example/*.pem data/assets/ssl/ echo -e "Fixing project name... " -sed -i 's/COMPOSEPROJECT_NAME/COMPOSE_PROJECT_NAME/g' mailcow.conf -sed -i '/COMPOSE_PROJECT_NAME=.*/{s/-//}' mailcow.conf -sed -i '/COMPOSE_PROJECT_NAME=.*/{s/_//}' mailcow.conf +sed -ie 's#COMPOSEPROJECT_NAME#COMPOSE_PROJECT_NAME#g' mailcow.conf +sed -i '/COMPOSE_PROJECT_NAME=/s/-//g' mailcow.conf echo -e "\e[32mStarting mailcow...\e[0m" sleep 2