1 |
On Fri, 2003-05-30 at 12:15, MAL wrote: |
2 |
|
3 |
> a) possibly portage has a function to specify that access to |
4 |
> /etc/gtk-2.0/gtk.immodules is allowed. |
5 |
|
6 |
Thats a no no. Unless there is absolutely no way to patch that |
7 |
behaviour. |
8 |
|
9 |
> b) I provide a patch to the sources to stop this happening, then do it |
10 |
> myself in the ebuild after install. |
11 |
|
12 |
You have to patch that part out and make sure you can produce the same |
13 |
effect during pkg_postinst() and also reverse the effect when you do |
14 |
pkg_postrm() (if possible.) You need to test it pretty well to make sure |
15 |
pkg_postinst() and pkg_postrm() works as expected, esp in regards |
16 |
prefixing paths with ${ROOT} when writing files, etc. |
17 |
|
18 |
Cheers, |
19 |
|
20 |
Alastair |