Re: /etc/shells management
>>>>> "Martin" == Martin Godisch <martin@godisch.de> writes:
Martin> What's the preferred way to do this check? Consider, some shell
Martin> is installed with its appropriate entry in /etc/shells. Now, we
Martin> remove it: the entry will be deleted from /etc/shells, which
Martin> makes sense, because the binary isn't there any longer. The
Martin> package is still in configured state. Now we install it again,
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?
Perhaps something like "update-modules" would help here?
Regards,
Isaac.
Reply to: