Re: Changes in a conffile
>>"Josip" == Josip Rodin <joy@cibalia.gkvk.hr> writes:
Josip> On Thu, Feb 14, 2002 at 12:25:36PM +0000, Andrew Suffield wrote:
>> > 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
Josip> Personally I prefer packages that fix paths themselves... as
Josip> long as they don't fuck up anything else in the process :)
Modifying a conffile in user scripts is a violation of
policy.
manoj
--
Pecor's Health-Food Principle: Never eat rutabaga on any day of the
week that has a "y" in it.
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: