|
@@ -181,8 +181,8 @@ if ! [[ "${DOCKER_COMPOSE_VERSION}" =~ ^(native|standalone)$ ]]; then
|
|
|
if docker compose version --short | grep "2." > /dev/null 2>&1; then
|
|
|
DOCKER_COMPOSE_VERSION=native
|
|
|
COMPOSE_COMMAND="docker compose"
|
|
|
- echo -e "\e[31mFound Docker Compose Plugin (native).\e[0m"
|
|
|
- echo -e "\e[31mSetting the DOCKER_COMPOSE_VERSION Variable to native\e[0m"
|
|
|
+ echo -e "\e[33mFound Docker Compose Plugin (native).\e[0m"
|
|
|
+ echo -e "\e[33mSetting the DOCKER_COMPOSE_VERSION Variable to native\e[0m"
|
|
|
sed -i 's/^DOCKER_COMPOSE_VERSION=.*/DOCKER_COMPOSE_VERSION=native/' $SCRIPT_DIR/mailcow.conf
|
|
|
sleep 2
|
|
|
echo -e "\e[33mNotice: You'll have to update this Compose Version via your Package Manager manually!\e[0m"
|
|
@@ -196,8 +196,8 @@ if ! [[ "${DOCKER_COMPOSE_VERSION}" =~ ^(native|standalone)$ ]]; then
|
|
|
if docker-compose version --short | grep "^2." > /dev/null 2>&1; then
|
|
|
DOCKER_COMPOSE_VERSION=standalone
|
|
|
COMPOSE_COMMAND="docker-compose"
|
|
|
- echo -e "\e[31mFound Docker Compose Standalone.\e[0m"
|
|
|
- echo -e "\e[31mSetting the DOCKER_COMPOSE_VERSION Variable to standalone\e[0m"
|
|
|
+ echo -e "\e[33mFound Docker Compose Standalone.\e[0m"
|
|
|
+ echo -e "\e[33mSetting the DOCKER_COMPOSE_VERSION Variable to standalone\e[0m"
|
|
|
sed -i 's/^DOCKER_COMPOSE_VERSION=.*/DOCKER_COMPOSE_VERSION=standalone/' $SCRIPT_DIR/mailcow.conf
|
|
|
sleep 2
|
|
|
echo -e "\e[33mNotice: For an automatic update of docker-compose please use the update_compose.sh scripts located at the helper-scripts folder.\e[0m"
|