add curl requirement

This commit is contained in:
neil committed 2015-12-26 21:04:08 +08:00
1 parent 6de7ef7cda
commit 246fb4b62e
1 file changed
+5
+5
View File
@@ -507,6 +507,11 @@ renewAll() {
install() {
_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"
mkdir -p $WORKING_DIR/
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.