Skip to content

Commit

Permalink
Revert "Testing STANDALONE_COMPOSE_VERSION gte COMPOSE_VERSION"
Browse files Browse the repository at this point in the history
This reverts commit 75c021f.
  • Loading branch information
aminvakil committed Mar 3, 2025
1 parent 75c021f commit aa15ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/dc-detect-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [[ -z "$COMPOSE_VERSION" ]]; then
exit 1
fi

STANDALONE_COMPOSE_VERSION="2.40.0"
STANDALONE_COMPOSE_VERSION=$($dc_base_standalone version --short &>/dev/null || echo '')
if [[ ! -z "${STANDALONE_COMPOSE_VERSION}" ]]; then
if [[ "$(vergte ${COMPOSE_VERSION//v/} ${STANDALONE_COMPOSE_VERSION//v/})" -eq 1 ]]; then
COMPOSE_VERSION="${STANDALONE_COMPOSE_VERSION}"
Expand Down

0 comments on commit aa15ffb

Please sign in to comment.