Lets first create all repos before creating ACLs for them

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2015-02-23 22:02:22 +00:00
parent afa5f86ab9
commit 2969d0d188

View file

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