Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348719 - Before and After remove script for EAPI.
Summary: Before and After remove script for EAPI.
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 14:21 UTC by dE
Modified: 2010-12-14 15:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2010-12-14 14:21:00 UTC
At times a package wants to do a few things before and after it's removal (adding/removing groups, removing config files etc...) for this we should have functions in the EAPI that will be executed before and after removal.

Reproducible: Always

Steps to Reproduce:
Comment 1 Zac Medico gentoo-dev 2010-12-14 14:41:09 UTC
Wouldn't the existing pkg_prerm and pkg_postrm functions be suitable for this? The REPLACED_BY_VERSION variable in EAPI 4 could also be helpful (see bug 273646).
Comment 2 dE 2010-12-14 15:10:13 UTC
Unfortunately I want aware of that (the pages were newly added?)

So this one needs to be closed.