Summary: | Suggestions: User-extensible post-install / subclassing an ebuild | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Mike Slinn <mslinn> |
Component: | Core - Ebuild Support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mike Slinn
2007-01-09 07:36:55 UTC
This already exists in /etc/portage/bashrc if you define a function post_pkg_postinst there for example. You can define pre-/posthooks for all phases, you just need to check for $PN yourself if it's supposed to be package-specific. |