Re: RFC: Idea for improved diversions and alternatives handling
- Date: Mon, 23 Jun 2008 11:31:11 +0200
- From: Goswin von Brederlow <goswin-v-b@xxxxxx>
- Subject: Re: RFC: Idea for improved diversions and alternatives handling
Steve Langasek <vorlon@xxxxxxxxxx> writes:
> Er, I've for the life of me never understood why --rename is even an
> *option* to dpkg-divert. What does dpkg-divert do without it, and how is
> that useful?
Only thing I can think of is something like this:
dpkg-divert --package my-libc6-wrapper --add /lib/libc-2.7.so
cp /lib/libc-2.7.so /lib/libc-2.7.so.my-libc6-wrapper
and
mv /lib/libc-2.7.so.my-libc6-wrapper /lib/libc-2.7.so
dpkg-divert --package my-libc6-wrapper --remove /lib/libc-2.7.so
A case where an intervall without the file is unacceptable.
> I don't think that the meaning of dpkg-divert (without --rename) should be
> changed, but I think that for declarative diversions, it makes sense to only
> support "rename".
MfG
Goswin
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx