From 5db7670623c2551c5cc1f6dc8ce02543b06cf671 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 4 Sep 2014 15:43:19 -0400 Subject: Use debconf for prompting when post-install commit fails, as was already done for pre-install commit. This avoids propigating errors to apt when eg, git is misconfigured and cannot commit. Closes: #760011 --- pre-install.d/50uncommitted-changes | 1 + 1 file changed, 1 insertion(+) (limited to 'pre-install.d/50uncommitted-changes') diff --git a/pre-install.d/50uncommitted-changes b/pre-install.d/50uncommitted-changes index d03d0e8..ef3fbf1 100755 --- a/pre-install.d/50uncommitted-changes +++ b/pre-install.d/50uncommitted-changes @@ -3,6 +3,7 @@ set -e if [ "$1" = "fail-debconf" ]; then . /usr/share/debconf/confmodule + db_title etckeeper db_subst etckeeper/commit_failed VCS "$VCS" db_input critical etckeeper/commit_failed || true db_go || true -- cgit v1.2.3