Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #322

authored by Junegunn Choi · committed by Junegunn Choi · parent 0d66ad2 · Browse files · 1 file+6 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−1 removed

  • other:+6 added−1 removed

1 file+6 added−1 removed

modified:install+6 added-1 removed
78 unmodified lines
79 binary_error="Failed to download ${1}"80 return81 fi8283 chmod +x $1 && symlink $1 && check_binary83 chmod +x $1 && symlink $1 || return 184 if [[ $1 =~ linux_amd64$ ]]; then85 check_binary || download $1-static86 else87 check_binary88 fi89}9091# Try to download binary executable92archi=$(uname -sm)
200 unmodified lines