Raspberry-pi (#1814)

* Get install script to work on raspberry pi

* cleanup
This commit is contained in:
Yuki Nagato 2024-07-10 20:36:58 -07:00 committed by GitHub
parent 7032b06746
commit 8705f1c345
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"