support installing, even if rvm is already present

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-10-02 18:06:15 +02:00
parent 62c69c63b5
commit 748fc8a258
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ if [ "$state_is" != "$state_should" ]; then
case "$state_should" in
present)
cat << DONE
su - $user -c "curl -L get.rvm.io | bash -s stable"
su - $user -c "unset rvm_path; unset rvm_bin_path; unset rvm_prefix; unset rvm_version; curl -L get.rvm.io | bash -s stable"
DONE
;;
absent)