Translations:Handbook:Parts/Portage/Advanced/26/en

To use for this case, we need to "hook" in the postrm (after removal of files) and postinst (after installation of files) functions, because that is when the files on the file system have been changed.