Skip to content

Commit

Permalink
easy install: needs a minor fix to accommodate auto-vivification
Browse files Browse the repository at this point in the history
  • Loading branch information
Sitaram Chamarty committed Nov 27, 2009
1 parent b78a720 commit 6576e82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gl-easy-install
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ setup_pta() {
# Substitute $GL_ADMINDIR and $REPO_BASE appropriately. Note there is no
# space around the "=" in the second and third lines.

git ls-remote gitolite:gitolite-admin
echo "cd $REPO_BASE/gitolite-admin.git
GIT_WORK_TREE=$GL_ADMINDIR git add conf/gitolite.conf keydir
GIT_WORK_TREE=$GL_ADMINDIR git diff --cached --quiet || GIT_WORK_TREE=$GL_ADMINDIR git commit -am start
Expand Down

0 comments on commit 6576e82

Please sign in to comment.