init rustup before AUR

This commit is contained in:
Mylloon 2023-03-12 21:15:38 +01:00
parent 8f4402700e
commit ce424be805
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -33,6 +33,10 @@ main() {
uwufetch python-pip opam cpanminus unison \ uwufetch python-pip opam cpanminus unison \
rebuild-detector git-delta sdl2_ttf rustup rebuild-detector git-delta sdl2_ttf rustup
# === Rustup ==
# init rustup
rustup default stable
# === Colors package manager == # === Colors package manager ==
sudo sed -i "s/#Color/Color/g" /etc/pacman.conf sudo sed -i "s/#Color/Color/g" /etc/pacman.conf
sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf
@ -55,7 +59,6 @@ main() {
# === Rust == # === Rust ==
# Dev tools # Dev tools
rustup default stable
rustup component add rust-analysis rls rustup component add rust-analysis rls
# Add Cargo packages from Rust # Add Cargo packages from Rust
mkdir -p "$HOME"/.cargo/bin mkdir -p "$HOME"/.cargo/bin