bash/rvm-update in wayneeseguin-rvm-0.0.20 vs bash/rvm-update in wayneeseguin-rvm-0.0.22
- old
+ new
@@ -1,21 +1,20 @@
#!/bin/bash
user=`whoami`
if [ "$user" = "root" ] ; then
- echo -e "\e[0;31m <e> \e[0mroot user support is not yet implemented.\e[0m"
+ echo -e "\033[0;31m <e> \033[0mroot user support is not yet implemented.\033[0m"
exit 1
fi
-info="\n\e[0;32m<i>\e[0m"
+info="\n\033[0;32m<i>\033[0m"
echo -e "$info Updating rvm source ~/.rvm/bin/rvm ..."
mkdir -p ~/.rvm/src ~/.rvm/bin
cp $(pwd)/bash/rvm ~/.rvm/bin/
echo -e "\n Thank you, come again! \n"
echo -e " ~ Wayne"
source ~/.rvm/bin/rvm
-
-rvm-symlinks
+rvm symlinks