Make install script to work with non GNU tar (#871)
This commit is contained in:
parent
54a4ab0f26
commit
505dc0491b
4
install
4
install
@ -99,11 +99,11 @@ link_fzf_in_path() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try_curl() {
|
try_curl() {
|
||||||
command -v curl > /dev/null && curl -fL $1 | tar -xz
|
command -v curl > /dev/null && curl -fL $1 | tar -xzf -
|
||||||
}
|
}
|
||||||
|
|
||||||
try_wget() {
|
try_wget() {
|
||||||
command -v wget > /dev/null && wget -O - $1 | tar -xz
|
command -v wget > /dev/null && wget -O - $1 | tar -xzf -
|
||||||
}
|
}
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
|
Loading…
Reference in New Issue
Block a user