gl-setup now allows editing rc file on first run
This commit is contained in:
parent
595410aa55
commit
f10fa00227
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ else
|
||||||
[ -z "$GITOLITE_HTTP_HOME" ] || [ -n "$admin_name" ] || die "looks like first run -- I need an admin name"
|
[ -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
|
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
|
fi
|
||||||
|
|
||||||
# setup ssh stuff. We break our normal rule that we will not fiddle with
|
# setup ssh stuff. We break our normal rule that we will not fiddle with
|
||||||
|
|
Loading…
Add table
Reference in a new issue