Merge pull request #373 from konstruktoid/ISSUE309

use only year and month for version check #309
This commit is contained in:
Thomas Sjögren 2019-04-13 14:35:12 +00:00 committed by GitHub
commit 55ab78bb12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -317,7 +317,7 @@ check_2_12() {
# 2.13
check_2_13() {
docker_version=$(docker version | grep -i -A2 '^server' | grep ' Version:' \
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,.')
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,.' | cut -c 1-4)
totalChecks=$((totalChecks + 1))
id_2_13="2.13"