diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-09-19 22:18:04 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-09-19 22:18:04 +0900 |
commit | d2f3604c1dd176b485ab82cebc956560f2e73657 (patch) | |
tree | 4e8f75c0724016cdf1b696d3ed7aac6fb40acb81 /install | |
parent | 72cc558fdc4547f4ec919af5952efea9de28bb9e (diff) |
0.10.6
Diffstat (limited to 'install')
-rwxr-xr-x | install | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env bash -[[ "$@" =~ --pre ]] && version=0.10.5 pre=1 || - version=0.10.5 pre=0 +[[ "$@" =~ --pre ]] && version=0.10.6 pre=1 || + version=0.10.6 pre=0 cd $(dirname $BASH_SOURCE) fzf_base=$(pwd) @@ -80,12 +80,7 @@ download() { return fi - chmod +x $1 && symlink $1 || return 1 - if [[ $1 =~ linux_amd64$ ]]; then - check_binary || download $1-static - else - check_binary - fi + chmod +x $1 && symlink $1 && check_binary } # Try to download binary executable |