From 4a21f090292f05d3bbc017e6cee6b9a653403ac0 Mon Sep 17 00:00:00 2001 From: Daniel Thomas Date: Tue, 10 Jul 2012 12:47:30 +0200 Subject: [PATCH] Should append to .profile rather than overwriting it as it might have existing contents --- doc/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/installation.md b/doc/installation.md index bf579b17..f15eff88 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -107,7 +107,7 @@ Get gitolite source code: Setup: - sudo -u git sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" > /home/git/.profile' + sudo -u git sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" >> /home/git/.profile' sudo -u git -H sh -c "PATH=/home/git/bin:$PATH; /home/git/gitolite/src/gl-system-install" sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub sudo chmod 777 /home/git/gitlab.pub