Revert "install: do not create the ${GITLAB_DATA_DIR}/.ssh directory, its created in the init script"

This reverts commit 8aba575f89cde29a03cc3537a7f99799ceaf8b07.
This commit is contained in:
Sameer Naik 2014-10-19 11:05:28 +05:30
parent 45edbf3469
commit 8562893be9

View File

@ -28,8 +28,8 @@ rm -rf /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub
adduser --disabled-login --gecos 'GitLab' git
passwd -d git
# create symlink to ${DATA_DIR}/.ssh
rm -rf /home/git/.ssh
sudo -u git -H mkdir -p ${GITLAB_DATA_DIR}/.ssh
sudo -u git -H ln -s ${GITLAB_DATA_DIR}/.ssh /home/git/.ssh
# install gitlab-shell, use local copy if available