Lets first create all repos before creating ACLs for them
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
afa5f86ab9
commit
2969d0d188
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
python /usr/local/bin/pkgdb_sync_git_branches.py
|
||||||
|
|
||||||
TEMPDIR=`mktemp -d -p /var/tmp genacls.XXXXX`
|
TEMPDIR=`mktemp -d -p /var/tmp genacls.XXXXX`
|
||||||
export GL_BINDIR=/usr/bin
|
export GL_BINDIR=/usr/bin
|
||||||
|
|
||||||
|
@ -8,7 +10,6 @@ cd $TEMPDIR
|
||||||
if /usr/local/bin/genacls.pkgdb > gitolite.conf ; then
|
if /usr/local/bin/genacls.pkgdb > gitolite.conf ; then
|
||||||
mv gitolite.conf /etc/gitolite/conf/
|
mv gitolite.conf /etc/gitolite/conf/
|
||||||
chown gen-acls:gen-acls -R /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
|
HOME=/srv/git /usr/bin/gitolite compile
|
||||||
fi
|
fi
|
||||||
cd /
|
cd /
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue