Skip to content

Commit

Permalink
fixes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolin committed Oct 9, 2017
1 parent 9887ffb commit a739649
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/bin/bash

rust_install_status=`rustc --version`
rustc_prefix="rustc"

# Checking if Rust is installed
if [[ $rust_install_status == $rustc_prefix* ]];
if [ `which rustc` ];
then
# Rust is installed
echo "Rust already installed"
Expand Down

0 comments on commit a739649

Please sign in to comment.