Skip to content

Commit

Permalink
Merge pull request moovweb#118 from runcom/curl_dependency_check
Browse files Browse the repository at this point in the history
Add check for curl dependency
  • Loading branch information
gregorygtseng committed Feb 3, 2015
2 parents b514413 + f2a28de commit 121663b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/gvm-check
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ Could not find make
linux: apt-get install make
"
# Check for curl
which curl &> /dev/null ||
error_message="${error_message}
Could not find curl
linux: apt-get install curl
mac: brew install curl
"

if [ -n "$error_message" ]; then
display_warning "$error_message"
Expand Down

0 comments on commit 121663b

Please sign in to comment.