don't fail when .ssh exist
This commit is contained in:
parent
f213958b65
commit
5bf8445034
2 changed files with 8 additions and 1 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
gitlab (8.9.0+dfsg-8) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Update ruby-unicorn-worker-killer dependency
|
||||||
|
* Don't fail when .ssh exist
|
||||||
|
|
||||||
|
-- Pirate Praveen <praveen@debian.org> Tue, 26 Jul 2016 15:03:10 +0530
|
||||||
|
|
||||||
gitlab (8.9.0+dfsg-7) unstable; urgency=medium
|
gitlab (8.9.0+dfsg-7) unstable; urgency=medium
|
||||||
|
|
||||||
* Tighten dependencies
|
* Tighten dependencies
|
||||||
|
|
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -54,7 +54,7 @@ case "$1" in
|
||||||
# Create directories and change ownership
|
# Create directories and change ownership
|
||||||
echo "Creating runtime directories for gitlab..."
|
echo "Creating runtime directories for gitlab..."
|
||||||
# Setup ssh key file
|
# Setup ssh key file
|
||||||
mkdir ${gitlab_data_dir}/.ssh
|
mkdir -p ${gitlab_data_dir}/.ssh
|
||||||
touch ${gitlab_data_dir}/.ssh/authorized_keys
|
touch ${gitlab_data_dir}/.ssh/authorized_keys
|
||||||
chown -R ${gitlab_user}: ${gitlab_data_dir}/.ssh
|
chown -R ${gitlab_user}: ${gitlab_data_dir}/.ssh
|
||||||
# Create more required directories
|
# Create more required directories
|
||||||
|
|
Loading…
Reference in a new issue