Thu 17 Nov 2022 12:46:00 PM CET
This commit is contained in:
parent
6bcc7e0fc1
commit
64e84015a2
1 changed files with 9 additions and 0 deletions
9
linux-base/assets/setup-rust.sh
Executable file
9
linux-base/assets/setup-rust.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
tmpfile=/tmp/tmp.784979489.sh
|
||||||
|
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > $tmpfile
|
||||||
|
chmod +x $tmpfile
|
||||||
|
/bin/sh -c "$tmpfile -y"
|
||||||
|
rm -f $tmpfile
|
||||||
Loading…
Add table
Reference in a new issue