Merge pull request #1494 from cclauss/patch-2
README.md: pipe wget | tar to reduce duplication
This commit is contained in:
commit
8aa44bf529
|
@ -191,8 +191,7 @@ To install it on Redhat/Fedora/CentOS, run `yum -y install xz`.
|
|||
|
||||
```bash
|
||||
export scversion="stable" # or "v0.4.7", or "latest"
|
||||
wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz"
|
||||
tar --xz -xvf shellcheck-"${scversion}".linux.x86_64.tar.xz
|
||||
wget -qO- "https://storage.googleapis.com/shellcheck/shellcheck-"${scversion}".linux.x86_64.tar.xz" | tar -xJv
|
||||
cp shellcheck-"${scversion}"/shellcheck /usr/bin/
|
||||
shellcheck --version
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue