Files
Erik Hollensbe f56e54565c made some stuff work
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-02-28 01:33:39 -08:00

14 lines
204 B
Bash

#!/bin/bash
if [ ! -x $HOME/.cargo/bin/rustup ]
then
curl -sSL sh.rustup.rs >/tmp/rustup.sh && bash /tmp/rustup.sh -y
fi
if [ -f $HOME/.cargo/env ]
then
. $HOME/.cargo/env
fi
rustup default stable