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

Re: debconf template not included in package ???



Sven Luther wrote:
> I created a templates file, put it in the debian directory, created a
> config file and a postinst file, like was adviced.
> 
> Now, the package builds fine, i tried running the postinst by hand, and
> it asked me the question in the template. When i installed the built
> package, it did not ask me the question, since it had already. Not
> thinking much (it was late at night), i uploaded the package to
> unstable.
> 
> Now, when others try installing the packages, it fails in pre-configure,
> since there is no mention of the debconf template file in the package,
> and no mention of my debconf question in
> /var/cache/debconf/templates.dat.
> 
> I am a bit at a loss here, how do you make debconf understand it should
> add the debconf template in the distributed package ?

Put the templates file in debian/<package>.templates. dh_installdebconf
will install it from there into debian/<package>/DEBIAN.

-- 
see shy jo

Attachment: pgpSFITYDyKun.pgp
Description: PGP signature


Reply to: