From ad6b514bd3b6ff6051ef7ab268cc7c4821157a39 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Thu, 18 Feb 2016 19:09:00 +0530 Subject: [PATCH] overwrite Gemfile.lock link --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index d77b231cf0..e2ff34a55b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -134,7 +134,7 @@ case "$1" in # Create Gemfile.lock and .secret in /var/lib/gitlab su ${gitlab_user} -s /bin/sh -c "touch ${gitlab_data_dir}/Gemfile.lock" - ln -s ${gitlab_data_dir}/Gemfile.lock ${gitlab_app_root}/Gemfile.lock + ln -sf ${gitlab_data_dir}/Gemfile.lock ${gitlab_app_root}/Gemfile.lock if ! [ -f "${gitlab_app_root}" ]; then su ${gitlab_user} -s /bin/sh -c "touch ${gitlab_data_dir}/.secret"