bsys5/assets/setup-rust.sh
2022-11-17 11:24:04 +01:00

9 lines
176 B
Bash
Executable file

#!/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