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

Re: /etc/ question



On Sun, 25 Feb 2001, Eric Van Buggenhaut wrote:
> > > Perhaps better: copy it in the postinst, remove the old version in the
> > > postinst.  Then if any problems arise, the original version will still
> > > be present.
> >
> > BAD idea. This will defeat the conffile change detection engine in dpkg, and
> > will cause problems in some cases. Don't do that.
> 
> Did he just say  that because of the typo ? s/postinst/preinst ?

Yes. As long as the copy/move is done in preinst, it will not cause problems
with the conffile handling by dpkg.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Attachment: pgph4gRTcYgV8.pgp
Description: PGP signature


Reply to: