1 |
On Sat, 28 Oct 2006 17:09:10 -0400 |
2 |
Alec Warner <antarus@g.o> wrote: |
3 |
|
4 |
> It doesn't cover updates/. I don't think that corner case is easily |
5 |
> covered. |
6 |
|
7 |
Ehm, if you have a list of CP entries that were added/removed and |
8 |
access to the update files it shouldn't be all that complicated. |
9 |
|
10 |
Just made up pseudocode: |
11 |
|
12 |
for x in $raw_added_cps; do |
13 |
grep "^move [^ ]* $x\$" $current_update_file || |
14 |
$real_added_cps="$real_added_cps $x" |
15 |
done |
16 |
|
17 |
Hardest part is probably to select $current_update_file correctly. |
18 |
|
19 |
Marius |
20 |
|
21 |
-- |
22 |
Public Key at http://www.genone.de/info/gpg-key.pub |
23 |
|
24 |
In the beginning, there was nothing. And God said, 'Let there be |
25 |
Light.' And there was still nothing, but you could see a bit better. |
26 |
-- |
27 |
gentoo-dev@g.o mailing list |