[DRE-commits] [gitlab] 01/02: copy gitlab_yml correcly

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Feb 20 14:12:28 UTC 2017


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

praveen pushed a commit to branch master
in repository gitlab.

commit 43da0d9f9113f3698bb69f243d95d4fcbbc331b1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Feb 20 18:41:27 2017 +0530

    copy gitlab_yml correcly
---
 debian/postinst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/postinst b/debian/postinst
index c94b7e9..58dd3eb 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -138,6 +138,8 @@ EOF
       gl_proto="http"
 
       # Copy example configurations
+      test -f ${gitlab_yml_private} || \
+      cp ${gitlab_yml_example} ${gitlab_yml_private}
       test -f ${gitlab_shell_config_private} || \
       cp ${gitlab_shell_config_example} ${gitlab_shell_config_private}
 

-- 
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