mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-06 15:12:05 -07:00
[install] Fall back statically-linked binary on 64-bit linux
Close #322
This commit is contained in:
7
install
7
install
@@ -80,7 +80,12 @@ download() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod +x $1 && symlink $1 && check_binary
|
chmod +x $1 && symlink $1 || return 1
|
||||||
|
if [[ $1 =~ linux_amd64$ ]]; then
|
||||||
|
check_binary || download $1-static
|
||||||
|
else
|
||||||
|
check_binary
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Try to download binary executable
|
# Try to download binary executable
|
||||||
|
Reference in New Issue
Block a user