mirror of
https://github.com/lotabout/skim.git
synced 2026-09-10 07:16:23 -04:00
[script] fix: install uncompress incorrectly
This commit is contained in:
parent
23fcd6a874
commit
0f3b7f1ee3
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -13,3 +13,5 @@
|
|||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
||||
# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
|
||||
Cargo.lock
|
||||
|
||||
bin/*
|
||||
|
|
|
|||
4
install
4
install
|
|
@ -45,9 +45,9 @@ download() {
|
|||
local url=https://github.com/lotabout/skim/releases/download/v$version/${1}.tar.gz
|
||||
echo "Downloading: $url"
|
||||
if command -v curl > /dev/null; then
|
||||
curl -fL $url | tar -xz -
|
||||
curl -fL $url | tar xz
|
||||
elif command -v wget > /dev/null; then
|
||||
wget -O - $url | tar -xz -
|
||||
wget -O - $url | tar xz
|
||||
else
|
||||
binary_error="curl or wget not found"
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue