Re: /etc/shells management
> >>>>> "Martin" == Martin Godisch <email@example.com> writes:
> Martin> and the entry in /etc/shells should be added again, since it was
> Martin> there when we begun. How does the postinst know that this is no
> Martin> upgrade? Why doesn't add-shell care for this, so the postinst
> Martin> can unconditionally run?
add-shell is idempotent, so running
results in only one /bin/bash3 in /etc/shells.
So the postinst can run it unconditionally.