Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 19 Jun 2008 00:37:56 +0000 (20:37 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 19 Jun 2008 00:37:56 +0000 (20:37 -0400)
debian/changelog
pre-install.d/50uncommitted-changes

index 0a7638a5cc8ca4c6745ee9d45569b0911ec0d282..207f6bcfbba92c85336e62d84b4b2927d289d0a9 100644 (file)
@@ -1,3 +1,9 @@
+etckeeper (0.17) unstable; urgency=low
+
+  * Fix backwards test for AVOID_COMMIT_BEFORE_INSTALL. Closes: #486922
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 18 Jun 2008 20:36:52 -0400
+
 etckeeper (0.16) unstable; urgency=low
 
   * Add a AVOID_COMMIT_BEFORE_INSTALL option in the config file to make it
index 465b06c4c6b917bc3a0d0b5e12b65dae4ffb9b18..0d82419f987988240397561f4b83fa3831806d6f 100755 (executable)
@@ -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