Merge pull request #5196 from ewong012/staging
This commit is contained in:
		
							
								
								
									
										10
									
								
								update.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								update.sh
									
									
									
									
									
								
							@@ -188,7 +188,7 @@ if ! [[ "${DOCKER_COMPOSE_VERSION}" =~ ^(native|standalone)$ ]]; then
 | 
			
		||||
        echo -e "\e[33mNotice: You'll have to update this Compose Version via your Package Manager manually!\e[0m"
 | 
			
		||||
      else
 | 
			
		||||
        echo -e "\e[31mCannot find Docker Compose with a Version Higher than 2.X.X.\e[0m" 
 | 
			
		||||
        echo -e "\e[31mPlease update/install it manually regarding to this doc site: https://docs.mailcow.email/mailcow-dockerized-docs/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
        echo -e "\e[31mPlease update/install it manually regarding to this doc site: https://docs.mailcow.email/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
        exit 1
 | 
			
		||||
      fi
 | 
			
		||||
  elif docker-compose > /dev/null 2>&1; then
 | 
			
		||||
@@ -203,14 +203,14 @@ if ! [[ "${DOCKER_COMPOSE_VERSION}" =~ ^(native|standalone)$ ]]; then
 | 
			
		||||
        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"
 | 
			
		||||
      else
 | 
			
		||||
        echo -e "\e[31mCannot find Docker Compose with a Version Higher than 2.X.X.\e[0m" 
 | 
			
		||||
        echo -e "\e[31mPlease update/install regarding to this doc site: https://docs.mailcow.email/mailcow-dockerized-docs/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
        echo -e "\e[31mPlease update/install regarding to this doc site: https://docs.mailcow.email/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
        exit 1
 | 
			
		||||
      fi
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
  else
 | 
			
		||||
    echo -e "\e[31mCannot find Docker Compose.\e[0m" 
 | 
			
		||||
    echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/mailcow-dockerized-docs/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
    echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
    exit 1
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
@@ -223,7 +223,7 @@ elif [ "${DOCKER_COMPOSE_VERSION}" == "native" ]; then
 | 
			
		||||
    if ! $COMPOSE_COMMAND > /dev/null 2>&1 || ! $COMPOSE_COMMAND --version | grep "^2." > /dev/null 2>&1; then
 | 
			
		||||
      # IF it cannot find Standalone in > 2.X, then script stops
 | 
			
		||||
      echo -e "\e[31mCannot find Docker Compose or the Version is lower then 2.X.X.\e[0m" 
 | 
			
		||||
      echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/mailcow-dockerized-docs/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
      echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
      exit 1
 | 
			
		||||
    fi
 | 
			
		||||
      # If it finds the standalone Plugin it will use this instead and change the mailcow.conf Variable accordingly
 | 
			
		||||
@@ -243,7 +243,7 @@ elif [ "${DOCKER_COMPOSE_VERSION}" == "standalone" ]; then
 | 
			
		||||
    if ! $COMPOSE_COMMAND > /dev/null 2>&1; then
 | 
			
		||||
      # IF it cannot find Native in > 2.X, then script stops
 | 
			
		||||
      echo -e "\e[31mCannot find Docker Compose.\e[0m" 
 | 
			
		||||
      echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/mailcow-dockerized-docs/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
      echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/i_u_m/i_u_m_install/\e[0m"
 | 
			
		||||
      exit 1
 | 
			
		||||
    fi
 | 
			
		||||
      # If it finds the native Plugin it will use this instead and change the mailcow.conf Variable accordingly
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user