scripts/rvm-install in rvm-0.0.30 vs scripts/rvm-install in rvm-0.0.31

- old
+ new

@@ -22,10 +22,11 @@ done for file in ~/.bash_profile ~/.bashrc ~/.zshrc ; do if [ -s $file ] ; then echo -e "\n\033[0;33m<w>\033[0m Ensuring that rvm script location in $file is scripts/rvm not bin/rvm" - sed -i.orig 's/rvm\/bin\/rvm/rvm\/scripts\/rvm/g' $file + actual_file=$(file ~/.zshrc | awk '{print $5}') + sed -i.orig 's/rvm\/bin\/rvm/rvm\/scripts\/rvm/g' $actual_file fi done if [ -f ~/.rvm/bin/rvm ] ; then echo -e "\n\033[0;33m<w>\033[0m Removing old rvm file from ~/.rvm/bin/rvm"