Re: /etc/shells management
Branden Robinson <firstname.lastname@example.org> wrote:
> On Sat, Sep 06, 2003 at 03:32:58PM -0500, Manoj Srivastava wrote:
>> elif test -z "$2" -o "$2" = "<unknown>"; then
> is my Bible when I'm writing/editing maintainer scripts. It's
> documented nowhere that I need to handle the argument '<unknown>'.
> Where did you come by this, and if it's something we should worry about,
> why isn't it documented in Policy?
Quoting policy 188.8.131.52 (184.108.40.206 is identical)
| If there is no most recently configured version dpkg will pass a
| null argument; older versions of dpkg may pass <unknown> (including
| the angle brackets) in this case. Even older ones do not pass a
| second argument at all, under any circumstances.
However handling this seems to be pretty academic, the change happened
in ancient times:
dpkg (1.2.1); priority=MEDIUM
* postinst configure now gets null argument (not <unknown> or <none>)
when there is no previously configured version.
-- Ian Jackson <email@example.com> Wed, 22 May 1996 01:26:31 +0100
Hey, da ist ein Ballonautomat auf der Toilette!
Unofficial _Debian-packages_ of latest unstable _tin_