Skip to content
Snippets Groups Projects
Commit 1de4cc3b authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[install] Fall back statically-linked binary on 64-bit linux

Close #322
parent 0d66ad23
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment