[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#190749: debian-policy: /etc/init.d scripts example 'test -f program-executed-later-in-script' should be 'test -x'



Pierre THIERRY <pierre.thierry@moine-fou.org> wrote:
> [-- text/plain, encoding quoted-printable, 35 lines --]
> 
> 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.

There is no point in test executability since the test is meant to
determine whether the package has been removed or not.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: