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

Re: Moving conffiles



On Sun, Sep 11, 2005 at 02:10:56PM +0100, Roger Leigh wrote:
> Kilian Krause <kilian@debian.org> writes:
> 
> >> >> In this case, I'd like to move /etc/schroot.conf to
> >> >> /etc/schroot/schroot.conf.
> >> >
> >> > mv? Alternatively cp -a&&rm.
> >> 
> >> Yes, but I want to properly comply with policy.  I only want to do the
> >> copy on upgrade if the conffile is (a) untouched and (b) the original
> >> exists.  I'm not sure this is sufficient, though, and others must have
> >> needed to do this in the past.
> >
> > well, see the debian policy about maintainer scripts, find the place
> > where you have the upgrade path as described and do as you say.
> 
> OK, I'll do something like this.  There's not much point in asking the
> user, because it always needs doing.
http://www.dpkg.org/ has a section about moving conffiles.

Justin



Reply to: