diff --git a/swww.sh b/swww.sh index 6a3858c..98987ab 100644 --- a/swww.sh +++ b/swww.sh @@ -40,9 +40,13 @@ # echo "DEBUG: Installing ${deps[@]}" check-and-install ${deps[@]} - pen bold yellow "Checking cargo.." if ! command_exists cargo; then + pen bold yellow "Installing cargo.." curl --proto '=https' --tlsv1.2 -sSf "https://sh.rustup.rs" | sh + + sleep 2 + + . "$HOME/.cargo/env" else return 0 fi