Add check for curl dependency

This commit is contained in:
Antonio Murdaca
2015-02-03 19:33:35 +01:00
parent b5144138b0
commit f2a28de3cf
+8
View File
@@ -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"