[csw-maintainers] hooks in pkg-get

Philip Brown phil at bolthole.com
Thu Nov 12 20:17:35 CET 2009


On Thu, Nov 12, 2009 at 11:11 AM, Dagobert Michelsen <dam at opencsw.org> wrote:
>
> If a package erranously removes a modified config-file on removal
> I obviously cannot fix that in the new package and the old package
> is already out. But I could put a copy aside in a postremove-hook
> and copy it back-in before the new package is installed :)

wait, what?
you can modify behaviour of the former package, by newer packages,
with this stuff?
yikes.
and what about the potential of old package hooks conflicting with new
package hooks?
This sounds like a very hairy capability.



More information about the maintainers mailing list