1 |
equery est lent :-( |
2 |
|
3 |
J'aurais fait comme ca : |
4 |
du -h `cat /var/db/pkg/category/apps-version/CONTENTS` |
5 |
|
6 |
Je ne suis pas sur que ca marche (je ne peux pas tester ici), sinon |
7 |
plus sur ceci : |
8 |
|
9 |
SIZE=0 |
10 |
for i in `cat /var/db/pkg/category/apps-version/CONTENTS` |
11 |
do |
12 |
SIZE=$(($SIZE+ `du -k $i`)) |
13 |
done |
14 |
|
15 |
SIZE=$(($SIZE/1024)) # Pour convertir en Mo |
16 |
|
17 |
++ |
18 |
Beber |
19 |
|
20 |
On 7/11/05, Christophe PEREZ <christophe.perez@×××××××.com> wrote: |
21 |
> Le Mon, 11 Jul 2005 22:35:50 +0200, Laurent Jourden a écrit: |
22 |
> |
23 |
> > equery du gentoolkit |
24 |
> |
25 |
> Parfait, merci beaucoup. |
26 |
> Pourtant j'utilise bien déjà equery pour les "uses" mais je n'avais pas |
27 |
> remarqué cette option. |
28 |
> Merci encore. |
29 |
> |
30 |
> -- |
31 |
> Christophe PEREZ |
32 |
> -- |
33 |
> gentoo-user-fr@g.o mailing list |
34 |
> |
35 |
> |
36 |
|
37 |
-- |
38 |
gentoo-user-fr@g.o mailing list |