On Sat, 2008-07-05 at 16:05 +0100, Adam D. Barratt wrote:
> Hi,
> 
> On Thu, 2008-07-03 at 07:03 +0200, Christian Perrier wrote:
> > 1) Checking if a declared template is still used
[...]
> As far as I can see, such a test does not currently exist. It would be
> fairly simple to add, assuming that the following methodology would make
> sense (on a per-binary package basis):
> 
> for each of config, preinst, postinst, prerm, postrm

This should of course just be

for each of config, postinst

>       find uses of db_input, db_get, db_set and record
>         the associated question name

(and db_text for consistency with the existing db_input checks)

> for each template in templates
>       check name against the list from step 1

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to