add curl requirement
This commit is contained in:
parent
6de7ef7cda
commit
246fb4b62e
5
le.sh
5
le.sh
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user