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

Re: Does dpkg-divert work on conf files?

On Thu, Mar 02, 2000 at 01:41:34AM +1100, Martijn van Oosterhout wrote:
> > > The reason I ask is that conf files are unpacked as conffile.dpkg-dist but
> > > the diversion only (AFAIK) redirects conffile by itself.
> > 
> > Um, can you explain this?
> Well, when a conffile is unpacked it goes to conffile.dpkg-dist. 
> Then it decides whether or not to replace the existing config
> file, and if so move the old one to conffile.dpkg-old and the
> new one to conffile.
> If I dpkg-divert /etc/package.conf to /random/path/package.conf,
> when the new conffile is unpacked, does it go to 
> /random/path/package.conf.dpkg-dist and replace the one there?
> Hope I'm making sense here.

Ah, yes. That's the way it should behave. What's wrong?

FWIW, I've noticed an odd thing about it, see #58735.

enJoy -*/\*- don't even try to pronounce my first name

Reply to: