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

Re: moving conffiles



> > This seems to be a perennial question that I just can't figure out the
> > correct answer to. Can anyone give me a step-by-step explination of how to
> > move a conffile from one directory to another?
> I suppose that if you copy the file from the old location to the new
> location in the preinst script, and then remove the old one in the
> postinst script, it should work.

 I'd say:

 preinst: move the conffile
 prerm: if $1 = "upgrade" and ($2 is an old version) then move the conffile
back (I think that downgrades should be supported if possible).
 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: