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

Re: Moving conffiles



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kilian Krause <kilian@debian.org> writes:

> Hi Roger,
>
> Am Sonntag, den 11.09.2005, 13:04 +0100 schrieb Roger Leigh:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Hi folks,
>> 
>> Is there a recommended way of changing the location of a conffile
>> while still preserving user modifications?
>> 
>> 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.


Thanks,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFDJCDzVcFcaSW/uEgRAjYkAJ4ljo1cEP4Az4yCNwffnrsZ2Fq6JACgwnD3
4S/XPa0yXpoRCN5DOEUz4vY=
=H2eB
-----END PGP SIGNATURE-----



Reply to: