Translations:Mailfiltering Gateway/269/en
From Gentoo Wiki
Luckily, Gentoo provides you with the means to perform these steps automatically. In Hooking in the Emerge Process, the Gentoo Handbook explains how to execute tasks after installations of a particular package, like so: