--show-progress and --https-only options not supported in older versions of wget

In older version of wget (v1.14), --show-progress and --https-only options are not available.
I have experienced the error in CentOS Linux release 7.4.1708.

Also, it's better to use curl instead, as in some of the Linux distributions wget not pre-installed.
pull/385/head
Buvanesh Kumar 2018-09-10 15:28:15 +05:30 committed by GitHub
parent b974042d95
commit d1e4b044e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 9 deletions

View File

@ -33,21 +33,16 @@ brew install cfssl
### Linux ### Linux
``` ```
wget -q --show-progress --https-only --timestamping \ curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 \ curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
``` ```
``` ```
chmod +x cfssl_linux-amd64 cfssljson_linux-amd64 chmod +x cfssl cfssljson
``` ```
``` ```
sudo mv cfssl_linux-amd64 /usr/local/bin/cfssl sudo mv cfssl cfssljson /usr/local/bin/
```
```
sudo mv cfssljson_linux-amd64 /usr/local/bin/cfssljson
``` ```
### Verification ### Verification