summaryrefslogtreecommitdiff
path: root/pre-install.d/50uncommitted-changes
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-18 20:37:56 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-18 20:37:56 -0400
commitbec75e8b10701f4142a1cdfe6c047a6dd1e5b2e4 (patch)
tree2e36b009fd98839aea5ec4c2a510ac20db8bc57d /pre-install.d/50uncommitted-changes
parentcbcf21be2ee630c9e3b78e50e6184abbc08d1930 (diff)
Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922
Diffstat (limited to 'pre-install.d/50uncommitted-changes')
-rwxr-xr-xpre-install.d/50uncommitted-changes2
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