1 |
Brian Harring wrote: |
2 |
> On Wed, 2004-04-14 at 05:36, KRimminal wrote: |
3 |
> |
4 |
>>well, this ideea has been passed around on the gentoo forum, but no |
5 |
>>steps have been taken. |
6 |
>>the issue is: 'deletion of old distfiles'. |
7 |
>>well, the code is in the forums, can someone check it and put it in the |
8 |
>>portage tree ? |
9 |
> |
10 |
> I'd touched on inclusion of a distfiles cleaning utility in glep25- |
11 |
> regardless if the glep gets accepted or not, I think it would be a |
12 |
> useful addition to app-portage/gentoolkit. |
13 |
> |
14 |
> I've personally been using a modified distclean, no complaints with it. |
15 |
> ~brian |
16 |
|
17 |
For what it's worth, this is how I list my unused distfiles: |
18 |
|
19 |
# find /usr/portage/distfiles -type f -not \( `emerge -epf world 2>&1|awk |
20 |
'BEGIN{mino=""}{n=split($1,a,"/");if(n>1){print mino,"-name ",a[n];mino=" -o |
21 |
"}}'` \) |
22 |
|
23 |
-- |
24 |
/ Xavier Neys |
25 |
\_ Gentoo Documentation Project |
26 |
/ French & Internationalisation Lead |
27 |
\ http://www.gentoo.org/doc/en |
28 |
/\ |