Re: How to register files as a part of a package?
On Wed, Jul 10, 2002 at 03:35:20PM -0500, Adam Heath wrote:
> On Wed, 10 Jul 2002, Andreas Metzler wrote:
>
> > On Wed, Jul 10, 2002 at 02:29:40PM +0100, Sam Vilain wrote:
> > > How do I register a delivered file as belonging to a package in a
> > > postinst/preinst script?
> >
> > Afaik you cannot. I assume
> > echo filename >> /var/lib/dpkg/info/foo.list
> > would be an rc-bug.
>
> It would.
Maybe we need a dpkg-adopt <filename>. I would like for packages to be able to
claim ownership of files that wern't necessarily in the original deb
package.
This would solve the dpkg -S problem people complain about every now and
then.
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: