Gentoo Archives: gentoo-dev

From: "Harald van Dijk" <truedfx@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] pkg_{pre,post}inst misusage
Date: Fri, 23 Dec 2005 13:15:11
Message-Id: 20051223131325.GA12712@gentoo.org
In Reply to: Re: [gentoo-dev] pkg_{pre,post}inst misusage by Jason Stubbs
1 On Fri, Dec 23, 2005 at 10:00:20PM +0900, Jason Stubbs wrote:
2 > On Friday 23 December 2005 21:39, Harald van Dijk wrote:
3 > > On Fri, Dec 23, 2005 at 08:31:06PM +0900, Jason Stubbs wrote:
4 > > > On Friday 23 December 2005 20:19, Stefan Schweizer wrote:
5 > > > > Well, you should know that those are because of portage bugs or some
6 > > > > portage peculiarity, read the corresponding bugs for example for cups
7 > > > > to find out more.
8 > > >
9 > > > Can you point me to a bug? There's no mention in the ChangeLog that I can
10 > > > see nor in the ebuilds themselves...
11 > >
12 > > Bug #99375 is mentioned in the changelog for samba.
13 >
14 > Okay. It appears to be something related to symlinks. Can you show me the bug
15 > assigned to portage that reports this and/or shows how to reproduce it?
16
17 Don't know if it's been reported as a portage bug, but this would show
18 it:
19
20 KEYWORDS="~x86"
21 src_install() {
22 dodir /test
23 dosym /usr/bin /test
24 }
25
26 When unmerging, portage won't remove /test/bin because its target still exists.

Replies

Subject Author
Re: [gentoo-dev] pkg_{pre,post}inst misusage Zac Medico <zmedico@×××××.com>
Re: [gentoo-dev] pkg_{pre,post}inst misusage Jason Stubbs <jstubbs@g.o>