File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,12 @@ sudo usermod -a -G gitlab git
43
43
sudo -H -u gitlab ssh-keygen -q -N ' ' -t rsa -f /home/gitlab/.ssh/id_rsa
44
44
45
45
cd /home/git
46
- sudo -H -u git git clone git://github.com/gitlabhq/gitolite /home/git/gitolite
46
+ sudo -H -u git git clone -b gl-v304 git://github.com/gitlabhq/gitolite /home/git/gitolite
47
47
48
48
sudo -u git -H sh -c " PATH=/home/git/bin:$PATH ; /home/git/gitolite/src/gl-system-install"
49
49
sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
50
50
sudo chmod 777 /home/git/gitlab.pub
51
-
52
- sudo -u git -H sed -i ' s/0077/0007/g' /home/git/share/gitolite/conf/example.gitolite.rc
53
51
sudo -u git -H sh -c " PATH=/home/git/bin:$PATH ; gl-setup -q /home/git/gitlab.pub"
54
- sudo -u git -H sed -i " s/\(GIT_CONFIG_KEYS\s*=>*\s*\).\{2\}/\1'\.\*'/g" /home/git/.gitolite.rc
55
52
56
53
57
54
sudo chmod -R g+rwX /home/git/repositories/
You can’t perform that action at this time.
0 commit comments