1 |
>>>>> On Wed, 14 May 2014, Andreas K Huettel wrote: |
2 |
|
3 |
> However, I'm not so happy with a "semi-random" compres/dont compress |
4 |
> decision for other files. Maybe some program expects a certain |
5 |
> filename to display a README? If there is a clear-cut decision, then |
6 |
> the code can be adapted, but if the portage behaviour changes as |
7 |
> soon as the file grows over a size limit, this is difficult... |
8 |
|
9 |
For any files that are installed in /usr/share/doc you cannot assume |
10 |
anything about the compression scheme. It also depends on user |
11 |
configuration which is not accessible from inside an ebuild. |
12 |
|
13 |
If it must be ensured that a file is not being compressed or that a |
14 |
certain program for compression is used, then call "docompress -x" for |
15 |
that file, and (if necessary) compress it with that program. |
16 |
|
17 |
Ulrich |