m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Revert "0.10.6"

This reverts commit d2f3604c1d.
This commit is contained in:
Junegunn Choi
2015-09-19 22:27:09 +09:00
parent d2f3604c1d
commit 987799f8fb
4 changed files with 11 additions and 9 deletions

11
install
View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
[[ "$@" =~ --pre ]] && version=0.10.6 pre=1 ||
version=0.10.6 pre=0
[[ "$@" =~ --pre ]] && version=0.10.5 pre=1 ||
version=0.10.5 pre=0
cd $(dirname $BASH_SOURCE)
fzf_base=$(pwd)
@@ -80,7 +80,12 @@ download() {
return
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