mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
improvement: add rustup command check and suggests installing it if its required
This commit is contained in:
parent
dbd1b6b46d
commit
28d2eab949
@ -36,6 +36,18 @@ else
|
||||
echo "LLVM/clang found."
|
||||
fi
|
||||
|
||||
if ! rustup -V &> /dev/null
|
||||
then
|
||||
echo "rustup is not installed."
|
||||
echo "Visit https://rustup.rs and install Rust from there"
|
||||
echo "Usually, you can copy the following and follow the on-screen instructions."
|
||||
echo "Please don't install Rust as root."
|
||||
echo "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
|
||||
exit 1
|
||||
else
|
||||
echo "rustup found."
|
||||
fi
|
||||
|
||||
# To enable heavy debug mode (slow)
|
||||
#BUILD_FLAGS=""
|
||||
#TARGET=debug
|
||||
|
Loading…
Reference in New Issue
Block a user