From fd82d038ded28ec59fdb69bbd959b4031915273c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 29 Jun 2008 12:56:25 -0400 Subject: Allow AVOID_COMMIT_BEFORE_INSTALL to be set to zero to disable. --- 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 a5e69d4..47750ac 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" = 1 ]; then echo "" >&2 echo "** etckeeper detected uncommitted changes in /etc prior to $HIGHLEVEL_PACKAGE_MANAGER run" >&2 echo "** Aborting $HIGHLEVEL_PACKAGE_MANAGER run. Manually commit and restart." >&2 -- cgit v1.2.3