Skip to content

Commit

Permalink
Don't check minor docker compose version when checking if docker comp…
Browse files Browse the repository at this point in the history
…ose is too new

Closes #35
  • Loading branch information
Zalgo2462 authored May 20, 2023
1 parent 364b0d1 commit 110158b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/check_docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ fi
if [ "$VERSION_MAJOR" -lt "$MIN_VERSION_MAJOR" ] ||
[ "$VERSION_MAJOR" -eq "$MIN_VERSION_MAJOR" -a "$VERSION_MINOR" -lt "$MIN_VERSION_MINOR" ]; then
exit 4
elif [ "$VERSION_MAJOR" -gt "$MAX_VERSION_MAJOR" ] ||
[ "$VERSION_MAJOR" -eq "$MAX_VERSION_MAJOR" -a "$VERSION_MINOR" -gt "$MAX_VERSION_MINOR" ]; then
elif [ "$VERSION_MAJOR" -gt "$MAX_VERSION_MAJOR" ]; then
exit 5
else
exit 0
Expand Down

0 comments on commit 110158b

Please sign in to comment.