[DRE-commits] [gitlab] 02/03: overwrite Gemfile.lock link

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Feb 18 13:57:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit ad6b514bd3b6ff6051ef7ab268cc7c4821157a39
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Feb 18 19:09:00 2016 +0530

    overwrite Gemfile.lock link
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index d77b231..e2ff34a 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list