[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#881432: debian-policy: Please clarify postinst invocation upon first installation



control: tag -1 -patch

Hello again,

On Sat, Nov 11 2017, Christoph Biedl wrote:

> 6.5. Summary of ways maintainer scripts are called
>
> in the paragraph after
>
> "postinst configure most-recently-configured-version"
>
> Suggested wording:
>
> | If this package was prevously uninstalled, the
> | "most-recently-configured-version" string is empty.

Sorry, I spoke too soon.  I withdraw my second.  Currently we have:

> If there is no most recently configured version ``dpkg`` will pass a
> null argument.

This seems to cover your case, but maybe you don't think it's
sufficient?

Further, in dpkg terminology packages aren't "uninstalled" but they are
"removed".  So even if we make a change your wording would not be
advisable.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: