mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 06:40:03 +00:00
Raspberry-pi (#1814)
* Get install script to work on raspberry pi * cleanup
This commit is contained in:
parent
7032b06746
commit
8705f1c345
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ if [ "$os" == "Darwin" ]; then
|
|||
unzip cargo-binstall-universal-apple-darwin.zip
|
||||
elif [ "$os" == "Linux" ]; then
|
||||
machine="$(uname -m)"
|
||||
if [ "$machine" == "armv7l" ]; then
|
||||
machine="armv7"
|
||||
fi
|
||||
target="${machine}-unknown-linux-musl"
|
||||
if [ "$machine" == "armv7" ]; then
|
||||
target="${target}eabihf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue