scripts/rvm-install in rvm-0.0.34 vs scripts/rvm-install in rvm-0.0.35

- old
+ new

@@ -21,21 +21,16 @@ mkdir -p $rvm_dir/$dir 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" + echo -e "\n\033[0;32m<i>\033[0m Ensuring that rvm script location in $file is scripts/rvm not bin/rvm" 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" - rm -f ~/.rvm/bin/rvm -fi - -for dir in scripts examples ; do +for dir in config scripts examples ; do mkdir -p $rvm_dir/$dir for file in `/bin/ls $source_dir/$dir/`; do cp $source_dir/$dir/$file $rvm_dir/$dir/$file done done