krebs git: fix initial chown
This commit is contained in:
parent
8d123b9541
commit
edfd8ca191
|
@ -569,7 +569,8 @@ let
|
|||
if ! test -d "$repodir"; then
|
||||
mkdir -m "$mode" "$repodir"
|
||||
git init --bare --template=/var/empty "$repodir"
|
||||
chown -R git:nogroup "$repodir"
|
||||
# TODO fix correctly with stringAfter
|
||||
chown -R ${toString config.users.users.git.uid}:nogroup "$repodir"
|
||||
fi
|
||||
ln -s ${hooks} "$repodir/hooks"
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue