Re: Draft spec for new dpkg "triggers" feature
Joey Hess writes ("Re: Draft spec for new dpkg "triggers" feature"):
> Ian Jackson wrote:
> > Other possibilities for passing this information seem to include:
> > * writing it to a temporary file (what a palaver both for dpkg
> > and for the maintainer script)
> > * environment variables (messy and still subject to possibly small
> > implementation limits)
> > * not at all
>
> Couldn't dpkg just run the trigger muliple times (like xargs) if it came
> to that?
Yes, I suppose it could, but that has its own downsides. In
particular, it will often be the case that some or all of the triggers
a package is interested in will cause identical postinst behaviour,
which would end up being repeated.
Ian.
Reply to: