blob: 5735f69889c2103dd5a2692866c7d1ad99e76eb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
#
# Run git-update-server-info on all repositories.
#
# This is script is needed when servir repositories directly
# to dumb servers (eg. via HTTP).
#
REPOS="/var/git/repositories"
for repo in `ls $REPOS`; do
( cd $REPOS/$repo && su gitosis -c "git update-server-info" )
done
|