> >>>>> "Martin" == Martin Godisch <[EMAIL PROTECTED]> 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

add-shell /bin/bash3
add-shell /bin/bash3

results in only one /bin/bash3 in /etc/shells.

So the postinst can run it unconditionally.

kcr


Reply via email to