Re: /etc/shells management
On Sat, Sep 06, 2003 at 15:32:58 -0500, Manoj Srivastava wrote:
> case "$1" in
> configure)
> # Configure this package. If the package must prompt the user for
> # information, do it here.
> # There are three sub-cases:
> if test "${2+set}" != set; then
> # We're being installed by an ancient dpkg which doesn't remember
> # which version was most recently configured, or even whether
> # there is a most recently configured version.
> :
>
> elif test -z "$2" -o "$2" = "<unknown>"; then
> # The package has not ever been configured on this system, or was
> # purged since it was last configured.
> :
>
> else
> # Version $2 is the most recently configured version of this
> # package.
# 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).
> :
>
> fi ;;
Kind regards,
Martin
Reply to: