[csw-maintainers] package hooks

Peter Bonivart bonivart at opencsw.org
Thu Jun 25 10:31:10 CEST 2009


On Thu, Jun 25, 2009 at 4:46 AM, Ben Walton<bwalton at opencsw.org> wrote:
> I thought I'd get the discussion of hooks for the package tools going
> by posting a bit of code.  This is completely untested, but is
> encapsulates the vision I have of how hooks could be implemented.
> [Please excuse my rusty perl.]

Looks nice, thanks for the patch! I'll add it to 1.7. :-)

> The pkgutil patch implements pre/post install/remove hook capabilities
> that allow the admin (or other packages) to have code run at various
> points during the management of CSW packages.

And these hooks will be provided by packages like etckeeper?

-- 
/peter



More information about the maintainers mailing list