mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
rustlang: Added the pathman, disabled SC2016
This commit is contained in:
@@ -2,9 +2,14 @@
|
||||
set -e
|
||||
set -u
|
||||
|
||||
# shellcheck disable=SC2016
|
||||
|
||||
function __install_rust() {
|
||||
|
||||
# Straight from https://rustup.rs/
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
|
||||
pathman add "$HOME/.cargo/bin"
|
||||
}
|
||||
|
||||
__install_rust
|
||||
|
||||
Reference in New Issue
Block a user