1 |
On Sat, Sep 17, 2005 at 03:53:12AM +0100, Mike Williams wrote: |
2 |
> On Saturday 17 September 2005 03:23, Willie Wong wrote: |
3 |
> > It is a curious thing: apparently portage doesn't think /etc/gtk-2.0 |
4 |
> > belongs to any package: |
5 |
> |
6 |
> Ahh, but it does... |
7 |
> |
8 |
> gimli ~ # equery belongs '/etc/gtk-2.0/*' |
9 |
> [ Searching for file(s) /etc/gtk-2.0/* in *... ] |
10 |
> x11-libs/gtk+-2.6.8 (/etc/gtk-2.0) |
11 |
> gimli ~ # equery belongs '/etc/gtk/*' |
12 |
> [ Searching for file(s) /etc/gtk/* in *... ] |
13 |
> x11-libs/gtk+-1.2.10-r11 (/etc/gtk) |
14 |
> |
15 |
> Note the slightly odd usage. equery appears to only be able to link files to |
16 |
> packages, not directories. |
17 |
|
18 |
Hum, then that rules out my hypothesis. But notice that in my original |
19 |
post /etc/gtk, the directory, was found to belong to gtk+-1.?, whereas |
20 |
/etc/gtk-2.0, the directory, was not found to belong to anything. So I |
21 |
don't think it is as clear as "equery doesn't link directories"... |
22 |
|
23 |
Though, since you got me thinking: it seems that equery cannot deal |
24 |
with the trailing slash. |
25 |
|
26 |
[11:39 PM]wwong ~ $ equery belongs /etc/gtk-2.0 |
27 |
[ Searching for file(s) /etc/gtk-2.0 in *... ] |
28 |
x11-libs/gtk+-2.6.8 (/etc/gtk-2.0) |
29 |
[11:40 PM]wwong ~ $ equery belongs /etc/gtk-2.0/ |
30 |
[ Searching for file(s) /etc/gtk-2.0/ in *... ] |
31 |
[11:40 PM]wwong ~ $ |
32 |
|
33 |
which is why in my original post /etc/gtk-2.0/ cannot be found and |
34 |
/etc/gtk could be. My mistake there. |
35 |
|
36 |
Is this behaviour somehow intended? |
37 |
|
38 |
W |
39 |
-- |
40 |
Q: What's an anagram of "Banach-Tarski" |
41 |
|
42 |
A: "Banach-Tarski Banach-Tarski" |
43 |
Sortir en Pantoufles: up 36 days, 6:40 |
44 |
-- |
45 |
gentoo-user@g.o mailing list |