Debhelper-generated postinst and prerm vs. manual one

Fabian Fagerholm fabbe at paniq.net
Wed Oct 18 13:28:56 UTC 2006


On Wed, 2006-10-18 at 09:42 -0300, Henrique de Moraes Holschuh wrote:
> Does the initscript uses this variable for something?

Yes, it prevents the initscript from failing with a non-zero error code
for the following reasons:
      * Package not installed (how clever is this?).
      * Daemon not enabled in /etc/default/saslauthd.
      * No mechs defined in /etc/default/saslauthd.

So if MAINTSCRIPT=yes, it exits with 0 in the above cases.

The init script that I committed a few months back is just a rough draft
which outlines an LSB-compliant script. It needs work.

But your question is correct, we need to first consider the initscript
and then decide on the dh_installinit question. Thanks for asking the
right question! :)

-- 
Fabian Fagerholm <fabbe at paniq.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/attachments/20061018/387c4356/attachment.pgp


More information about the Pkg-cyrus-sasl2-debian-devel mailing list