scripts/rvm-install in rvm-0.0.59 vs scripts/rvm-install in rvm-0.0.60

- old
+ new

@@ -35,11 +35,11 @@ if [ -z "$rvm_loaded_flag" ] ; then for rcfile in .bash_profile .bashrc .zshrc ; do if [ ! -e ~/$rcfile ] ; then touch ~/$rcfile ; fi if [ -z "$(awk '/\.rvm\/scripts\/rvm/' ~/$rcfile)" ] ; then echo "Adding 'if [ -s ~/.rvm/scripts/rvm ] ; then source ~/.rvm/scripts/rvm ; fi' to your ~/$rcfile." - echo -e "\n# rvm installer added line:\nif [ -s ~/.rvm/scripts/rvm ] ; then source ~/.rvm/scripts/rvm ; fi\n" >> ~/$rcfile + echo -e "\n# rvm-install added line:\nif [ -s ~/.rvm/scripts/rvm ] ; then source ~/.rvm/scripts/rvm ; fi\n" >> ~/$rcfile fi done fi echo -e "\n Ensuring that rvm script location in $file is scripts/rvm not bin/rvm for: ~/.bash_profile, ~/.bashrc, ~/.zshrc..." @@ -51,10 +51,10 @@ actual_file="$file" fi grep 'rvm\/bin\/rvm' $actual_file > /dev/null if [ $? -eq 0 ] ; then - sed -i.orig 's/rvm\/bin\/rvm/rvm\/scripts\/rvm/g' $actual_file + sed -i.orig 's#rvm/bin/rvm #rvm/scripts/rvm #g' $actual_file rm -f $actual_file.orig fi if [ -f ~/.profile ] ; then grep '.profile' $actual_file > /dev/null