dps: (distro packaging support) dont let install copy the sample conf
This commit is contained in:
parent
0e96c2f08a
commit
72bac2a21a
|
@ -56,13 +56,14 @@ for my $dir qw(conf doc keydir logs src) {
|
||||||
system("cp -R src doc $GL_ADMINDIR");
|
system("cp -R src doc $GL_ADMINDIR");
|
||||||
|
|
||||||
unless (-f $GL_CONF) {
|
unless (-f $GL_CONF) {
|
||||||
system("cp conf/example.conf $GL_CONF");
|
|
||||||
print <<EOF;
|
print <<EOF;
|
||||||
created $GL_CONF
|
please do the following:
|
||||||
please edit it, then run these two commands:
|
1. create and edit $GL_CONF to contain something like this:
|
||||||
cd $GL_ADMINDIR
|
repo gitolite-admin
|
||||||
src/gl-compile-conf
|
RW+ = yourname
|
||||||
(the "admin" document should help here...)
|
2. copy "yourname.pub" to $GL_ADMINDIR/keydir
|
||||||
|
3. run this command
|
||||||
|
$GL_ADMINDIR/src/gl-compile-conf
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue