support installing, even if rvm is already present
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								62c69c63b5
							
						
					
				
			
			
				commit
				
					
						748fc8a258
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue