diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-18 20:37:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-18 20:37:56 -0400 |
commit | bec75e8b10701f4142a1cdfe6c047a6dd1e5b2e4 (patch) | |
tree | 2e36b009fd98839aea5ec4c2a510ac20db8bc57d /pre-install.d/50uncommitted-changes | |
parent | cbcf21be2ee630c9e3b78e50e6184abbc08d1930 (diff) |
Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922
Diffstat (limited to 'pre-install.d/50uncommitted-changes')
-rwxr-xr-x | pre-install.d/50uncommitted-changes | 2 |
1 files changed, 1 insertions, 1 deletions
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 |