File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 25
25
exit 1
26
26
fi
27
27
28
+ if [ -x " $( command -v rustup) " ]
29
+ then
30
+ echo " SUCCESS: rustup is installed"
31
+ else
32
+ echo " ERROR: rustup does not seem to be installed."
33
+ echo " Please download rustup using https://rustup.rs!"
34
+ exit 1
35
+ fi
36
+
28
37
if [ -x " $( command -v rustc) " ]
29
38
then
30
39
echo " SUCCESS: Rust is installed"
31
40
else
32
41
echo " ERROR: Rust does not seem to be installed."
33
- echo " Please download Rust using https:// rustup.rs !"
42
+ echo " Please download Rust using rustup!"
34
43
exit 1
35
44
fi
36
45
39
48
echo " SUCCESS: Cargo is installed"
40
49
else
41
50
echo " ERROR: Cargo does not seem to be installed."
42
- echo " Please download Rust and Cargo using https:// rustup.rs !"
51
+ echo " Please download Rust and Cargo using rustup!"
43
52
exit 1
44
53
fi
45
54
You can’t perform that action at this time.
0 commit comments