Skip to content

Commit

Permalink
fix linux jq install guide
Browse files Browse the repository at this point in the history
  • Loading branch information
acodeninja committed Jan 13, 2020
1 parent 87246e8 commit d32e419
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ DESTINATION_DIR="$HOME/.terraform.d/plugins/"
DESTINATION_FILE="terraform-provider-remotefile"
OS=$(uname | tr '[:upper:]' '[:lower:]')


[[ $OS == "darwin" ]] && JQ_INSTALL_HELP="brew install jq"
[[ $OS == "linux" ]] && JQ_INSTALL_HELP="brew install jq"
[[ $OS == "linux" ]] && JQ_INSTALL_HELP="apt-get/yum install jq"

hash jq 2>/dev/null || { echo >&2 "This install script requires jq to work. ($JQ_INSTALL_HELP) Aborting."; exit 1; }

Expand Down

0 comments on commit d32e419

Please sign in to comment.