On Sat, Sep 17, 2005 at 03:53:12AM +0100, Mike Williams wrote: > On Saturday 17 September 2005 03:23, Willie Wong wrote: > > It is a curious thing: apparently portage doesn't think /etc/gtk-2.0 > > belongs to any package: > > Ahh, but it does... > > gimli ~ # equery belongs '/etc/gtk-2.0/*' > [ Searching for file(s) /etc/gtk-2.0/* in *... ] > x11-libs/gtk+-2.6.8 (/etc/gtk-2.0) > gimli ~ # equery belongs '/etc/gtk/*' > [ Searching for file(s) /etc/gtk/* in *... ] > x11-libs/gtk+-1.2.10-r11 (/etc/gtk) > > Note the slightly odd usage. equery appears to only be able to link files to > packages, not directories.
Hum, then that rules out my hypothesis. But notice that in my original post /etc/gtk, the directory, was found to belong to gtk+-1.?, whereas /etc/gtk-2.0, the directory, was not found to belong to anything. So I don't think it is as clear as "equery doesn't link directories"... Though, since you got me thinking: it seems that equery cannot deal with the trailing slash. [11:39 PM]wwong ~ $ equery belongs /etc/gtk-2.0 [ Searching for file(s) /etc/gtk-2.0 in *... ] x11-libs/gtk+-2.6.8 (/etc/gtk-2.0) [11:40 PM]wwong ~ $ equery belongs /etc/gtk-2.0/ [ Searching for file(s) /etc/gtk-2.0/ in *... ] [11:40 PM]wwong ~ $ which is why in my original post /etc/gtk-2.0/ cannot be found and /etc/gtk could be. My mistake there. Is this behaviour somehow intended? W -- Q: What's an anagram of "Banach-Tarski" A: "Banach-Tarski Banach-Tarski" Sortir en Pantoufles: up 36 days, 6:40 -- [email protected] mailing list

