Skip to content

Commit

Permalink
Checks if bash version >= 4 for gke install of cloudflow (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
debasishg committed Dec 5, 2019
1 parent 13e4ad5 commit 67eb5e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions installer/common/requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

# Perform checks of utilities required to perform the installation

if [ "${BASH_VERSINFO}" -lt 4 ] | [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
echo "Bash version must be >= 4 in order to run the Cloudflow installer script for GKE"
exit 1
fi
hash jq 2>/dev/null || { print_error_message >&2 "'jq' is required but it's not installed."; exit 1; }

0 comments on commit 67eb5e0

Please sign in to comment.