Skip to content

Commit 110158b

Browse files
authored
Don't check minor docker compose version when checking if docker compose is too new
Closes #35
1 parent 364b0d1 commit 110158b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/check_docker-compose.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ fi
4949
if [ "$VERSION_MAJOR" -lt "$MIN_VERSION_MAJOR" ] ||
5050
[ "$VERSION_MAJOR" -eq "$MIN_VERSION_MAJOR" -a "$VERSION_MINOR" -lt "$MIN_VERSION_MINOR" ]; then
5151
exit 4
52-
elif [ "$VERSION_MAJOR" -gt "$MAX_VERSION_MAJOR" ] ||
53-
[ "$VERSION_MAJOR" -eq "$MAX_VERSION_MAJOR" -a "$VERSION_MINOR" -gt "$MAX_VERSION_MINOR" ]; then
52+
elif [ "$VERSION_MAJOR" -gt "$MAX_VERSION_MAJOR" ]; then
5453
exit 5
5554
else
5655
exit 0

0 commit comments

Comments
 (0)