1 |
On Thursday, July 14 at 19:56 (+0700), Pandu Poluan said: |
2 |
|
3 |
> Another question: |
4 |
> |
5 |
> How does emerge know which files to delete during unmerge? |
6 |
> |
7 |
> I'm asking this one because I'm in the midst of writing an ebuild, and |
8 |
> I want to know how to tell emerge what new files has been added (if |
9 |
> necessary) |
10 |
|
11 |
You don't tell emerge. Emerge already knows. It keeps a manifest in |
12 |
the package database (/var/db/pkg) and that's how it knows what to |
13 |
delete. Most package managers work similarly. |