Additional fix for compose project name

This commit is contained in:
André Peters 2018-04-12 08:29:40 +02:00
parent 152ccba1d4
commit 0ac3a66182

View File

@ -207,7 +207,8 @@ docker-compose pull --parallel
[[ ! -d data/assets/ssl ]] && mkdir -p data/assets/ssl
cp -n data/assets/ssl-example/*.pem data/assets/ssl/
echo -e "Fix project name by removing dashes and underscores... "
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