1 |
On Sunday 13 April 2008, Thomas Anderson wrote: |
2 |
> On Sun, Apr 13, 2008 at 05:41:18PM +0000, Alin Nastac (mrness) wrote: |
3 |
> > mrness 08/04/13 17:41:18 |
4 |
> > |
5 |
> > Modified: ChangeLog |
6 |
> > Added: freeradius-2.0.3.ebuild |
7 |
> > Log: |
8 |
> > Version bump. |
9 |
> > (Portage version: 2.1.4.4) |
10 |
> > |
11 |
> > src_install() { |
12 |
> > mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
13 |
> > gzip -f -9 "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*} |
14 |
> |
15 |
> Doesn't this gzip command rather defeat the purpose of $PORTAGE_COMPRESS |
16 |
> and $PORTAGE_COMPRESS_FLAGS? |
17 |
|
18 |
it doesnt defeat it as ecompress will decompress things automatically. it |
19 |
just makes the call pointless. |
20 |
|
21 |
> It seems this might work better: |
22 |
> |
23 |
> ecompress "${D}/usr/share/doc/${PF}"/{rfc/*.txt,*} |
24 |
> |
25 |
> This way a user can opt to use bzip2,lzma, or no compression at all. |
26 |
|
27 |
no need to call ecompress as we already have a function to do what is needed: |
28 |
prepalldocs |
29 |
-mike |