mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-28 08:05:53 +00:00
Make install script to work with non GNU tar (#871)
This commit is contained in:
1 parent
54a4ab0f26
commit
505dc0491b
1 file changed
+2
-2
@@ -99,11 +99,11 @@ link_fzf_in_path() {
|
||||
}
|
||||
|
||||
try_curl() {
|
||||
command -v curl > /dev/null && curl -fL $1 | tar -xz
|
||||
command -v curl > /dev/null && curl -fL $1 | tar -xzf -
|
||||
}
|
||||
|
||||
try_wget() {
|
||||
command -v wget > /dev/null && wget -O - $1 | tar -xz
|
||||
command -v wget > /dev/null && wget -O - $1 | tar -xzf -
|
||||
}
|
||||
|
||||
download() {
|
||||
|
||||
Reference in new issue
Block a user