Commit 246fb4b6 authored by neil's avatar neil
Browse files

add curl requirement

parent 6de7ef7c
...@@ -507,6 +507,11 @@ renewAll() { ...@@ -507,6 +507,11 @@ renewAll() {
install() { install() {
_initpath _initpath
if ! command -v "curl" ; then
_info "Please install curl first."
_info "sudo apt-get install curl"
return 1
fi
_info "Installing to $WORKING_DIR" _info "Installing to $WORKING_DIR"
mkdir -p $WORKING_DIR/ mkdir -p $WORKING_DIR/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment