Created
September 25, 2012 19:22
-
-
Save madis/3783886 to your computer and use it in GitHub Desktop.
Is RVM installed?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "This script checks if you have all dependencies installed" | |
# Check for RVM | |
#RESULT= `type rvm | head -1` | |
RESULT="rvm is a function" | |
echo $RESULT | |
if [[ $RESULT = "rvm is a function" ]]; then | |
echo "RVM is OK" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment