mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Merge pull request #118 from runcom/curl_dependency_check
Add check for curl dependency
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user