Pandu Poluan asks: > How does emerge know which files to delete during unmerge?
The list of files belonging to a package can be found in /var/db/pkg/<category>/<package>-<version>/CONTENTS. > I'm asking this one because I'm in the midst of writing an ebuild, and > I want to know how to tell emerge what new files has been added (if > necessary) That's not necessary, the CONTENTS file is being generated automatically from the contents in /var/tmp/portage/<category>/<package>-<version>/image directory. That's where packages are being installed into, and then portage copies them into the live file system. Wonko