mirror of
https://github.com/Burningstone91/smart-home-setup.git
synced 2022-05-05 21:16:50 +03:00
9 lines
270 B
Bash
Executable File
9 lines
270 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
if [[ "$ARCH" == "armhf" ]]; then
|
|
rust_bin_path="$(stat --format %n /usr/local/rustup/toolchains/*-armv7-unknown-linux-gnueabihf/bin)"
|
|
export PATH=${rust_bin_path}:$PATH
|
|
fi
|
|
|
|
exec cargo install librespot --version "${LIBRESPOT_VERSION}" |