pkg_postrm

Function pkg_postrm
Purpose Called after a package is unmerged
Sandbox Disabled
Privilege root
Called for ebuild, binary

Default pkg_postrm

pkg_postrm()
{
    return
}

Sample pkg_postrm

pkg_postrm() {
    fdo-mime_mime_database_update
}

Common pkg_postrm Tasks

pkg_postrm is is used to update symlinks, cache files and other generated content after a package has been uninstalled.