diff options
author | Joey Hess <joey@kitenet.net> | 2014-09-04 15:43:19 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-09-04 15:43:19 -0400 |
commit | 5db7670623c2551c5cc1f6dc8ce02543b06cf671 (patch) | |
tree | 6e613e089dde3ece817d7da584113f8eaa2b2911 /pre-install.d | |
parent | 81d3328154d544d4e857810a81e6080105065e5f (diff) |
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
Diffstat (limited to 'pre-install.d')
-rwxr-xr-x | pre-install.d/50uncommitted-changes | 1 |
1 files changed, 1 insertions, 0 deletions
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 |