also setup homedir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								93f5ace932
							
						
					
				
			
			
				commit
				
					
						4d8840dba0
					
				
			
		
					 1 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -39,8 +39,15 @@ else
 | 
			
		|||
   source="git://github.com/telmich/cdist.git"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
__user "$username"
 | 
			
		||||
# Currently hardcoded - if anyone cares, make a parameter
 | 
			
		||||
# out of it
 | 
			
		||||
home=/home/$username
 | 
			
		||||
 | 
			
		||||
require="__user/$username" __git "$directory" \
 | 
			
		||||
__user "$username" --home "$home"
 | 
			
		||||
 | 
			
		||||
require="__username/$user" __directory "$home" 
 | 
			
		||||
    --owner "$username"
 | 
			
		||||
 | 
			
		||||
require="__user/$username __directory/$home" __git "$directory" \
 | 
			
		||||
    --source "$source" \
 | 
			
		||||
    --owner "$username" --branch "$branch"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue