Skip to content

Commit

Permalink
Merge pull request #207 from andreriesco/dev
Browse files Browse the repository at this point in the history
rust: On deps installation script, remove Rust installed through apt
  • Loading branch information
microhobby authored Jun 4, 2024
2 parents d0c0a9e + fda750c commit 39530ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/installDepsScripts/installRustDeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ if [[ $is_rustup_default ]]; then
rustup update

else

# Remove the Rust installation comming from apt instead of rustup
sleep 1
sudo apt remove rust-all rustc rust-lldb rust-gdb cargo -y
sudo apt autoremove -y

# Run script to install Rust and it's dependencies, based on the official
# recommended method of installation
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Expand Down

0 comments on commit 39530ed

Please sign in to comment.