From 8b5ecd8d975d79a96343abc1fb5453bedbb8f972 Mon Sep 17 00:00:00 2001 From: Charlie Date: Tue, 24 Aug 2010 20:04:53 +0000 Subject: Commit some old changes --- install-repos | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'install-repos') diff --git a/install-repos b/install-repos index d070ba1..ce8532a 100755 --- a/install-repos +++ b/install-repos @@ -17,10 +17,10 @@ for git in $REPOS; do echo $name # Prepare the repository - chown -R www:www . + chown -R stef:wheel . ln -sf $git $DIR/$simple - find . -type f -print0 | xargs -0 chmod 660 - find . -type d -print0 | xargs -0 chmod 770 + find . -type f -print0 | xargs -0 chmod 664 + find . -type d -print0 | xargs -0 chmod 775 # Install hooks for hook in $HOOKS; do @@ -28,9 +28,12 @@ for git in $REPOS; do done # Repository settings - git config core.sharedRepository=0660 || true + git config core.sharedRepository=0664 || true git config receive.denyNonFastforwards=true || true touch git-daemon-export-ok + if [ ! -f git-receive-allow ]; then + touch git-receive-allow + fi # Add to cgit list ( @@ -40,6 +43,7 @@ for git in $REPOS; do echo "repo.url=$simple" echo "repo.path=$git" echo "repo.desc=$simple" + echo "repo.owner=stef@memberwebs.com" fi echo ) >> $DIR/cgit-repo-rc -- cgit v1.2.3