Merge pull request #1494 from cclauss/patch-2

README.md: pipe wget | tar to reduce duplication
This commit is contained in:
Vidar Holen 2019-02-23 13:15:32 -08:00 committed by GitHub
commit 8aa44bf529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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
```