summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-01-15 06:06:22 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-01-15 06:06:22 +0900
commit62acb9adc47e714a427f12cb2e2c6ebca0bd7f38 (patch)
tree92984eba009f04dbb917c3d29b9a122b10dc805a /install
parent0b5fa56444350c575ed6aeb0d1d0ec35f61c00c2 (diff)
Fix error with empty list and release 0.9.1-dev
Diffstat (limited to 'install')
-rwxr-xr-xinstall4
1 files changed, 2 insertions, 2 deletions
diff --git a/install b/install
index a481d576..e03c357e 100755
--- a/install
+++ b/install
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-version=0.9.0
+version=0.9.1-dev
cd $(dirname $BASH_SOURCE)
fzf_base=$(pwd)
@@ -33,7 +33,7 @@ symlink() {
download() {
echo "Downloading bin/fzf ..."
- if [ -x "$fzf_base"/bin/fzf ]; then
+ if [[ ! $1 =~ dev && -x "$fzf_base"/bin/fzf ]]; then
echo " - Already exists"
check_binary && return
elif [ -x "$fzf_base"/bin/$1 ]; then