install in rvm-1.0.15 vs install in rvm-1.0.17

- old
+ new

@@ -124,11 +124,11 @@ } thank_you() { printf " -${name:-"$(whoami)"}, +${name:-"$USER"}, Thank you very much for using RVM! I sincerely hope that RVM helps to make your work both easier and more enjoyable. If you have any questions, issues and/or ideas for improvement please @@ -597,10 +597,12 @@ if [[ $upgrade_flag -eq 0 ]] ; then chmod +x ./scripts/notes # Sometimes things don't clone properly :/ ./scripts/notes fi -name="$(awk -F= '/^[[:space:]]*name/{print $2}' ~/.gitconfig 2>/dev/null)" +if command -v git > /dev/null 2>&1 ; then + name="$(git config user.name 2>/dev/null)" +fi if [[ ${upgrade_flag:-0} -eq 1 ]] ; then upgrade_notes