[DRE-commits] [gitlab] 01/03: don't fail if defaults file is not found

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Mar 23 13:55:19 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 f92b012a7ae379772f7868fcf1801dadc044ff33
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Mar 23 17:01:41 2017 +0530

    don't fail if defaults file is not found
---
 debian/postrm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postrm b/debian/postrm
index 0ea3f01..8316bc3 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -19,7 +19,7 @@ gitlab_debian_defaults=/var/lib/gitlab/gitlab-debian.defaults
 
 # Read debian specific configuration
 test -f ${gitlab_debian_conf} && . ${gitlab_debian_conf}
-. ${gitlab_debian_defaults}
+test -f ${gitlab_debian_defaults} && . ${gitlab_debian_defaults}
 
 case "$1" in
   remove)

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