From bec75e8b10701f4142a1cdfe6c047a6dd1e5b2e4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 18 Jun 2008 20:37:56 -0400 Subject: Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922 --- pre-install.d/50uncommitted-changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre-install.d/50uncommitted-changes') diff --git a/pre-install.d/50uncommitted-changes b/pre-install.d/50uncommitted-changes index 465b06c..0d82419 100755 --- a/pre-install.d/50uncommitted-changes +++ b/pre-install.d/50uncommitted-changes @@ -10,7 +10,7 @@ if [ "$1" = "fail-debconf" ]; then fi if etckeeper unclean; then - if [ ! "$AVOID_COMMIT_BEFORE_INSTALL" ]; then + if [ "$AVOID_COMMIT_BEFORE_INSTALL" ]; then echo "error: etckeeper detected uncommitted changes in /etc prior to $HIGHLEVEL_PACKAGE_MANAGER run" >&2 exit 1 fi -- cgit v1.2.3