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

Other posible conffile handling...

 Each installed conffile would be copied to a private dpkg directory. This
would allow dpkg to have the previos unmodified conffile that was packaged,
so dpkg would be able to:
  1) Calculate the delta between both packaged conffiles ( d(1,2) ).
  2) Show that to the user.
  3) Optionally merge with existing conffile = p(m, d(1,2) ) .


 Without the special dir there are other nice things that can be done as

 1) Make the diff between the user-modified file and the new packaged
    version = d(m,2).
 2) Let the user edit the patch choosing wich modifications he would like
    to have applied.

 The latter form is what I'm already using for conffile handling myself.

Reply to: