File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,29 +5,29 @@ echo "Let's get you set up with Rustlings!"
55echo " Checking requirements..."
66if [ -x " $( command -v git) " ]
77then
8+ echo " SUCCESS: Git is installed"
9+ else
810 echo " WARNING: Git does not seem to be installed."
911 echo " Please download Git using your package manager or over https://git-scm.com/!"
1012 exit 1
11- else
12- echo " SUCCESS: Git is installed"
1313fi
1414
1515if [ -x " $( command -v rustc) " ]
1616then
17+ echo " SUCCESS: Rust is installed"
18+ else
1719 echo " WARNING: Rust does not seem to be installed."
1820 echo " Please download Rust using https://rustup.rs!"
1921 exit 1
20- else
21- echo " SUCCESS: Rust is installed"
2222fi
2323
2424if [ -x " $( command -v cargo) " ]
2525then
26+ echo " SUCCESS: Cargo is installed"
27+ else
2628 echo " WARNING: Cargo does not seem to be installed."
2729 echo " Please download Rust and Cargo using https://rustup.rs!"
2830 exit 1
29- else
30- echo " SUCCESS: Cargo is installed"
3131fi
3232
3333# Function that compares two versions strings v1 and v2 given in arguments (e.g 1.31 and 1.33.0).
You can’t perform that action at this time.
0 commit comments