gl-setup now allows editing rc file on first run

This commit is contained in:
Sitaram Chamarty 2010-09-08 15:43:56 +05:30
parent 595410aa55
commit f10fa00227

View file

@ -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