Re: /etc/shells management
On Sun, Sep 07, 2003 at 15:19:08 -0500, Manoj Srivastava wrote:
> >> Shell may be missing in /etc/shells because the sysadmin decided to
> >> remove it (so be it) or the package has been removed but not purged
> >> (add it again).
>
>
> So create a file in the postinst that signifies the
> /etc/shells is configured, and remove it on removal. This file is
> not a conffile; it so, if it exists, do nothing, if it does not
> exist, add.
>
> Simple, huh?
And this was my question: Why expecting each shell package to implement
this ugly peace of code instead of letting add-shell taking care for it,
such that shell packages just need to run add-shell and are done with it?
Kind regards,
Martin
Reply to: