Re: bug #23953 ae: postinst does not check for errors

1998-07-20 Thread Dale Scheetz
On 19 Jul 1998, James Troup wrote: > Dale Scheetz <[EMAIL PROTECTED]> writes: > > > The problem isn't in the postinst (I know neither of them use set > > -e) but in the preinst script. > > Say what? update-alternatives is called in the *postinst*, and it's > the *postinst* that is mentioned in

Re: bug #23953 ae: postinst does not check for errors

1998-07-20 Thread Wichert Akkerman
Previously Dale Scheetz wrote: > But I don't want it to fail, because there is no reason for it to do so, > and this editor may very well be the only one on the system! Failure of > the install for the trivial failure to register as "EDITOR" is > unnecessary, and undesirable. Dale, I think you are

Re: bug #23953 ae: postinst does not check for errors

1998-07-20 Thread Adam P. Harris
Dale Scheetz <[EMAIL PROTECTED]> writes: > The problem isn't in the postinst (I know neither of them use set -e) but > in the preinst script. If that script fails then ae is not installed. > > All editors now use update-alternatives to place themselves in the > priority queue for "editor". If upda

Re: bug #23953 ae: postinst does not check for errors

1998-07-19 Thread James Troup
Dale Scheetz <[EMAIL PROTECTED]> writes: > The problem isn't in the postinst (I know neither of them use set > -e) but in the preinst script. Say what? update-alternatives is called in the *postinst*, and it's the *postinst* that is mentioned in the bug report as not checking for errors. If upd

Re: bug #23953 ae: postinst does not check for errors

1998-07-19 Thread Dale Scheetz
On 17 Jul 1998, James Troup wrote: > Dale Scheetz <[EMAIL PROTECTED]> writes: > > > > If update-alternatives fails, the install should *not* succeed. > > > > And why not? The update-alternatives failure does not impact the > > further correct installation of the ae package, and after the > > in

Re: bug #23953 ae: postinst does not check for errors

1998-07-18 Thread Raul Miller
Dale Scheetz <[EMAIL PROTECTED]> wrote: > But I don't want it to fail, because there is no reason for it to do so, > and this editor may very well be the only one on the system! Failure of > the install for the trivial failure to register as "EDITOR" is > unnecessary, and undesirable. Are there si

Re: bug #23953 ae: postinst does not check for errors

1998-07-17 Thread Rob Browning
James Troup <[EMAIL PROTECTED]> writes: > It is however reason to tell dpkg that something went wrong with > configuring ae. ... the postinst did not succeeded and should not > pretend it did. Perhaps something like this would be appropriate: #! /bin/sh set -e exit_code=0 set +e u

Re: bug #23953 ae: postinst does not check for errors

1998-07-17 Thread James Troup
Dale Scheetz <[EMAIL PROTECTED]> writes: > > If update-alternatives fails, the install should *not* succeed. > > And why not? The update-alternatives failure does not impact the > further correct installation of the ae package, and after the > install ae will function completely as expected when

Re: bug #23953 ae: postinst does not check for errors

1998-07-17 Thread Dale Scheetz
On Fri, 17 Jul 1998, Santiago Vila Doncel wrote: > -BEGIN PGP SIGNED MESSAGE- > > On Fri, 17 Jul 1998, Dale Scheetz wrote: > > > On Fri, 17 Jul 1998, Herbert Xu wrote: > > > > > On Thu, Jul 16, 1998 at 07:54:26PM -0400, Dale Scheetz wrote: > > > > > > > > The function of these scripts i

Re: bug #23953 ae: postinst does not check for errors

1998-07-17 Thread Santiago Vila Doncel
-BEGIN PGP SIGNED MESSAGE- On Fri, 17 Jul 1998, Dale Scheetz wrote: > On Fri, 17 Jul 1998, Herbert Xu wrote: > > > On Thu, Jul 16, 1998 at 07:54:26PM -0400, Dale Scheetz wrote: > > > > > > The function of these scripts is to conditionally install ae as "EDITOR" > > > using alternatives.

Re: bug #23953 ae: postinst does not check for errors

1998-07-17 Thread Dale Scheetz
severity 23953 wishlist quit On Fri, 17 Jul 1998, Herbert Xu wrote: > reopen 23953 > quit > > On Thu, Jul 16, 1998 at 07:54:26PM -0400, Dale Scheetz wrote: > > > > The function of these scripts is to conditionally install ae as "EDITOR" > > using alternatives. If this fails the rest of the ae in

Re: bug #23953 ae: postinst does not check for errors

1998-07-16 Thread Herbert Xu
reopen 23953 quit On Thu, Jul 16, 1998 at 07:54:26PM -0400, Dale Scheetz wrote: > > The function of these scripts is to conditionally install ae as "EDITOR" > using alternatives. If this fails the rest of the ae install is not > effected, and ae will be fully functional. Sure, so there is no prob

bug #23953 ae: postinst does not check for errors

1998-07-16 Thread Dale Scheetz
> Debian bug report logs - #23953 > ae: postinst does not check for errors > >Package: ae; Reported by: Herbert Xu <[EMAIL PROTECTED]>; >dated Sat, 27 Jun 1998 03:33:04 GMT; Maintainer for ae is Dale Scheetz