Paul Wise writes ("Re: Declarative packaging (Was: Re: Intended MBF: maintainer scripts not using strict mode)"): > IIRC last time we discussed this, the recommendation was to set an > environment variable that maintainer scripts could check to determine > if they should do host-specific actions or just generic actions common > to all hosts. Personally I think that seems like a bit of a hack and > there needs to be a new state for packages to be in added to dpkg.
How about using triggers-pending for this ? You'd need to canonical trigger name. Ian.