mirror of
https://github.com/tj/n.git
synced 2024-11-28 21:22:03 +01:00
Merge branch 'master' of github.com:visionmedia/n
This commit is contained in:
commit
6a267d5c69
4
bin/n
4
bin/n
@ -33,10 +33,10 @@ abort() {
|
||||
GET=
|
||||
|
||||
# wget support (Added --no-check-certificate for Github downloads)
|
||||
which wget > /dev/null && GET="wget --no-check-certificate -q -O-"
|
||||
command -v wget > /dev/null && GET="wget --no-check-certificate -q -O-"
|
||||
|
||||
# curl support
|
||||
which curl > /dev/null && GET="curl -# -L"
|
||||
command -v curl > /dev/null && GET="curl -# -L"
|
||||
|
||||
# Ensure we have curl or wget
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user