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

Re: How many times run debian/config?

On Fri, May 28, 2004 at 02:11:06PM +0200, Fabio Tranchitella wrote:
> It is a web-based tool written in PHP. The package provide an example
> configuration which have to be modified by the system administrator
> after installing it. In debian/config (but I will move the code in
> debian/postint) I try to automatically set up the configuration files
> reading from others conf files of other packages (if they exists).
> I can't understand if in my case these I'm right listing them in
> conffiles or not.

No, the file is not a conffile in the dpkg sense.  In fact, there should be
no mention of the file which you produce at all in the package file listing. 
The example config file should be shipped in /usr/share/<something>, and
copied and modified at runtime.  You must ensure that local changes to your
automatically generated file are preserved -- ucf is the typical means of
achieving this.

- Matt

Reply to: