Package: debian-policy
Version: 3.5.6.1
Severity: minor
Tags: patch

In the 10.3.2 section, a example line to test if the program to execute
does exist is given, but it only tests if the file exists, not if it is
executable.

--- policy.sgml 2003-04-19 12:33:14.000000000 +0200
+++ policy.sgml.corrected       2003-04-25 16:13:36.000000000 +0200
@@ -4762,7 +4762,7 @@
            should include a <tt>test</tt> statement at the top of the
            script, like this:
            <example compact="compact">
-test -f <var>program-executed-later-in-script</var> || exit 0
+test -x <var>program-executed-later-in-script</var> || exit 0
            </example>
          </p>
 

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux imperatrice.arcanes 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 
i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages debian-policy depends on:
ii  fileutils                     4.1-10     GNU file management utilities

-- 
mailto:[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A

Attachment: pgpNjhpLoBlL4.pgp
Description: PGP signature

Reply via email to