Skip to content

Commit

Permalink
style(bash): reorder bootstrap steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tanducmai committed Jan 15, 2024
1 parent 377ae67 commit 1c02289
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion install/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/usr/local/bin/git-cc \!/usr/bin/env bash
#!/usr/bin/env bash

# ======================================================================================
#
Expand Down Expand Up @@ -202,6 +202,13 @@ done
yes | sudo apt autoremove
yes | sudo apt autoclean

log_task "Installing rustup (press ENTER)..."
yes | sudo apt purge rustc 2>/dev/null
yes | sudo apt autoremove 2>/dev/null
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
"${HOME}"/.cargo/bin/rustup update
source "${HOME}/.cargo/env"

log_task "Installing Python packages ..."
for pkg in "${PYTHON_PKGS[@]}"; do
python3 -m pip install --upgrade --user --no-warn-script-location "${pkg}" \
Expand Down

0 comments on commit 1c02289

Please sign in to comment.