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:
commit
9fedf6c354
|
@ -461,7 +461,11 @@ boot()
|
||||||
echo "Cloning github repo..."
|
echo "Cloning github repo..."
|
||||||
git clone https://github.com/redox-os/redox.git --origin upstream --recursive
|
git clone https://github.com/redox-os/redox.git --origin upstream --recursive
|
||||||
rustInstall
|
rustInstall
|
||||||
|
if [[ "`cargo install --list`" != *"xargo"* ]]; then
|
||||||
cargo install xargo
|
cargo install xargo
|
||||||
|
else
|
||||||
|
echo "You have xargo installed already!"
|
||||||
|
fi
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
rm bootstrap.sh
|
rm bootstrap.sh
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue