Othmar, On Sat, Mar 03, 2001 at 01:28:24PM +0100, Othmar Pasteka wrote: > i have to deal myself with replacing/etc. config files since they > are generated in the postinst script. is there a package which is > suitable for taking this as an example? the formal description in There are two possibilities: 1) Give away config file handling to dpkg: just add your files to the `conffiles', for example: debian/conffiles: /etc/myconfigfile.rc This way dpkg asks if it should replace the conffile if the admin changed anything manually. I might add that with 1) you are *not* allowed to change this file in any of your install scripts, so you cant have any debconf questions for default ports or similar and write it in the conffile. 2) Do it yourself. Copy the file to /etc and edit it to your needs, possibly by asking debconf questions. Bastian
Attachment:
pgppAQmUUdX8Z.pgp
Description: PGP signature