mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
chore(rustlang): bash style update (use function)
This commit is contained in:
+6
-2
@@ -1,4 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Straight from https://rustup.rs/
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
function __install_rust() {
|
||||
# Straight from https://rustup.rs/
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
}
|
||||
|
||||
__install_rust
|
||||
|
||||
Reference in New Issue
Block a user