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!"
5
5
echo " Checking requirements..."
6
6
if [ -x " $( command -v git) " ]
7
7
then
8
+ echo " SUCCESS: Git is installed"
9
+ else
8
10
echo " WARNING: Git does not seem to be installed."
9
11
echo " Please download Git using your package manager or over https://git-scm.com/!"
10
12
exit 1
11
- else
12
- echo " SUCCESS: Git is installed"
13
13
fi
14
14
15
15
if [ -x " $( command -v rustc) " ]
16
16
then
17
+ echo " SUCCESS: Rust is installed"
18
+ else
17
19
echo " WARNING: Rust does not seem to be installed."
18
20
echo " Please download Rust using https://rustup.rs!"
19
21
exit 1
20
- else
21
- echo " SUCCESS: Rust is installed"
22
22
fi
23
23
24
24
if [ -x " $( command -v cargo) " ]
25
25
then
26
+ echo " SUCCESS: Cargo is installed"
27
+ else
26
28
echo " WARNING: Cargo does not seem to be installed."
27
29
echo " Please download Rust and Cargo using https://rustup.rs!"
28
30
exit 1
29
- else
30
- echo " SUCCESS: Cargo is installed"
31
31
fi
32
32
33
33
# 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