From: Russ Allbery
Date: Wed, 5 Nov 2008 03:44:12 +0000 (-0800)
Subject: Reword maintainer script exit status requirement
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dbd3d7dba309e272317652f2fabe2894969c7840;p=debian%2Fdebian-policy.git
Reword maintainer script exit status requirement
* Reword the requirement that maintainer scripts exit with a zero
status on success to avoid double-negatives.
---
diff --git a/debian/changelog b/debian/changelog
index aa40626..f866943 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,8 @@ debian-policy (3.8.1.0) UNRELEASED; urgency=low
* Clarify that translation is only required for user-visible debconf
messages. Capitalize "Debian Configuration Management Specification"
uniformly. Thanks, Julian Andres Klode. (Closes: #492624)
+ * Reword the requirement that maintainer scripts exit with a zero
+ status on success to avoid double-negatives.
-- Russ Allbery Mon, 23 Jun 2008 19:23:50 -0700
diff --git a/policy.sgml b/policy.sgml
index 54c19b6..5e7a287 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -3436,8 +3436,7 @@ Package: libc6
scripts this means that you almost always need to
use set -e (this is usually true when writing shell
scripts, in fact). It is also important, of course, that
- they don't exit with a non-zero status if everything went
- well.
+ they exit with a zero status if everything went well.