Skip to content

Commit

Permalink
Consistency!
Browse files Browse the repository at this point in the history
Co-authored-by: Amin Vakil <[email protected]>
  • Loading branch information
BYK and aminvakil authored Mar 5, 2025
1 parent d2a00de commit b130b23
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 @@ -9,7 +9,7 @@ fi
echo "${_group}Initializing Docker Compose ..."

# To support users that are symlinking to docker-compose
dc_base="$(docker compose version &>/dev/null && echo 'docker compose' || echo '')"
dc_base="$(docker compose version --short &>/dev/null && echo 'docker compose' || echo '')"
dc_base_standalone="$(docker-compose version &>/dev/null && echo 'docker-compose' || echo '')"

COMPOSE_VERSION=$([ -n "$dc_base" ] && $dc_base version --short || echo '')
Expand Down

0 comments on commit b130b23

Please sign in to comment.