summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thomas <drt24@srcf.ucam.org>2012-07-10 12:47:30 +0200
committerDaniel Thomas <drt24@srcf.ucam.org>2012-07-10 12:47:30 +0200
commit4a21f090292f05d3bbc017e6cee6b9a653403ac0 (patch)
tree4a737368524ac6db9e321d22f1d801b5e8c45666
parent666cdb22792dd955a286b9993d6235b4cdd68b4b (diff)
downloadgitlab-ce-4a21f090292f05d3bbc017e6cee6b9a653403ac0.tar.gz
Should append to .profile rather than overwriting it as it might have existing contents
-rw-r--r--doc/installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/installation.md b/doc/installation.md
index bf579b174c3..f15eff88fc5 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