also setup homedir

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-09-02 10:50:42 +02:00
parent 93f5ace932
commit 4d8840dba0

View file

@ -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"