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

Re: lintian warning: debconf-is-not-a-registry



Martin,

> W: mcbsam: debconf-is-not-a-registry ./usr/sbin/mcbsam-configure

You should not use debconf outside of the config and postinst (and
possibly preinst) scripts. What you really mean to do is to merge the
setup script into the postinst and let the user reconfigure the package
with dpkg-reconfigure. The rationale behind this is that only at the
time the postinst is called from dpkg-{p,}reconfigure you are guaranteed
that the values the config script stored in the debconf db are still
there (dpkg-reconfigure will call the config script again).

   Simon

-- 
GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4

Attachment: pgpznOu8w0y5X.pgp
Description: PGP signature


Reply to: