mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +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
|
unzip cargo-binstall-universal-apple-darwin.zip
|
||||||
elif [ "$os" == "Linux" ]; then
|
elif [ "$os" == "Linux" ]; then
|
||||||
machine="$(uname -m)"
|
machine="$(uname -m)"
|
||||||
|
if [ "$machine" == "armv7l" ]; then
|
||||||
|
machine="armv7"
|
||||||
|
fi
|
||||||
target="${machine}-unknown-linux-musl"
|
target="${machine}-unknown-linux-musl"
|
||||||
if [ "$machine" == "armv7" ]; then
|
if [ "$machine" == "armv7" ]; then
|
||||||
target="${target}eabihf"
|
target="${target}eabihf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue