From f92b012a7ae379772f7868fcf1801dadc044ff33 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Thu, 23 Mar 2017 17:01:41 +0530 Subject: [PATCH] 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 0ea3f0159c..8316bc30fe 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)