bash/rvm-install in rvm-0.0.8 vs bash/rvm-install in rvm-0.0.9
- old
+ new
@@ -1,6 +1,12 @@
#!/bin/bash
+user=`whoami`
+if [ "$user" = "root" ] ; then
+ echo -e "\e[0;31m <e> \e[0mroot user support is not yet implemented."
+ exit 1
+fi
+
mkdir -p ~/.rvm/src ~/.rvm/bin
cp $(pwd)/bash/rvm ~/.rvm/bin/
touch ~/.profile