From f10fa00227b1410045426d667fcf711e31e324f9 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Wed, 8 Sep 2010 15:43:56 +0530 Subject: [PATCH] gl-setup now allows editing rc file on first run --- src/gl-setup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gl-setup b/src/gl-setup index f0a3530..e72ebc6 100755 --- a/src/gl-setup +++ b/src/gl-setup @@ -60,6 +60,10 @@ else [ -z "$GITOLITE_HTTP_HOME" ] || [ -n "$admin_name" ] || die "looks like first run -- I need an admin name" cp $GL_PACKAGE_CONF/example.gitolite.rc $HOME/.gitolite.rc + printf "The default settings in the "rc" file ($HOME/.gitolite.rc) are fine for most\n" + printf "people but if you wish to make any changes, you can do so now.\n\nhit enter..." + read i + ${EDITOR:-vi} $HOME/.gitolite.rc fi # setup ssh stuff. We break our normal rule that we will not fiddle with