Merge pull request #1110 from HarryU/check_if_xargo_is_installed

Checking that xargo isn't already installed before trying to install …
This commit is contained in:
Jeremy Soller 2017-11-20 08:48:23 -07:00 committed by GitHub
commit 9fedf6c354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -461,7 +461,11 @@ boot()
echo "Cloning github repo..."
git clone https://github.com/redox-os/redox.git --origin upstream --recursive
rustInstall
if [[ "`cargo install --list`" != *"xargo"* ]]; then
cargo install xargo
else
echo "You have xargo installed already!"
fi
echo "Cleaning up..."
rm bootstrap.sh
echo