[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#57427: postinst wrong



On Wed, Feb 09, 2000 at 12:40:40AM +0100, Marco d'Itri wrote:
> On Jan 30, Raul Miller <moth@debian.org> wrote:
> 
> It's true, postinst starts innd everytime, but I can't understand what
> is wrong in this code:
> 
> echo -n "Do you want me to start INN now? (y/N) "
> read a
> case "$a" in
>     [yYsS]*)
>         /etc/init.d/inn start
>         ;;
> esac

The * matches everything.

      [yYsS])
          /etc/init.d/inn start
          ;;
      *)
          ;;


At least, I think that's right.

                       Michael Beattie (mickyb@es.co.nz)

 -----------------------------------------------------------------------------
                   It works fine except when I am in Windows.
 -----------------------------------------------------------------------------
                Debian GNU/Linux....  Ooohh You are missing out!

Attachment: pgpjoKudB02C0.pgp
Description: PGP signature


Reply to: