From 2969d0d188b84b16d5760c5777f24f2428271b4d Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 23 Feb 2015 22:02:22 +0000 Subject: [PATCH] Lets first create all repos before creating ACLs for them Signed-off-by: Patrick Uiterwijk --- roles/distgit/files/genacls.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/distgit/files/genacls.sh b/roles/distgit/files/genacls.sh index 63beb14ca1..fb1c5c0abc 100644 --- a/roles/distgit/files/genacls.sh +++ b/roles/distgit/files/genacls.sh @@ -1,5 +1,7 @@ #!/bin/sh +python /usr/local/bin/pkgdb_sync_git_branches.py + TEMPDIR=`mktemp -d -p /var/tmp genacls.XXXXX` export GL_BINDIR=/usr/bin @@ -8,7 +10,6 @@ cd $TEMPDIR if /usr/local/bin/genacls.pkgdb > gitolite.conf ; then mv gitolite.conf /etc/gitolite/conf/ chown gen-acls:gen-acls -R /etc/gitolite/conf/ - python /usr/local/bin/pkgdb_sync_git_branches.py HOME=/srv/git /usr/bin/gitolite compile fi cd /