On Thu, Feb 14, 2002 at 12:25:36PM +0000, Andrew Suffield wrote: > > The htdig package uses a configuration file, /etc/htdig/htdig.conf, > > which defines the location of a database file. > > In a recent version I changed the location of the default path to > > comply with the debian policy. > > > > An upgrade of the htdig can fail now (bug #133867), because this > > location should be changed in the configuration file too. Can I > > modify the location (if it's still listed as the old location) in the > > configuration file from the postinst script? Policy (ch 11.7) is not > > very clear about it IMHO. > > Change the path in the conffile in the package. Don't do anything in > postinst. dpkg will notice that the conffile in the package has > changed and prompt the user. If they are too stupid to [D]iff and > observe the changes, that is entirely their problem
Personally I prefer packages that fix paths themselves... as long as they don't fuck up anything else in the process :) > (packages which add spurious extra warnings on top of this are INCREDIBLY > annoying). I disagree. I'd put extra warnings about a critical change like this at least in /usr/share/doc/htdig/README.Debian. -- 2. That which causes joy or happiness.