Re: bug #23953 ae: postinst does not check for errors
On 19 Jul 1998, James Troup wrote:
> Dale Scheetz <dwarf@polaris.net> 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 update-alternatives is failing, ae will be left
> unconfigured, not uninstalled.
>
> Oh, and the preinst _does_ set -e (and thereby check for errors).
Sorry for all the confusion. I clearly was arguing from ignorance of my
own package. Now all this cross discussion begins to make sense.
You are correct. I am mistaken. This will be fixed in the next release.
>
> > If that script fails then ae is not installed.
>
> Yes, but it's not the script in question. BTW ae's preinst is 100%
> redundant and should be removed. ae has no pre-depends, checking if
> dpkg supports pre-depends is an exercise in pointlessness.
>
Historical left overs that I have been unwilling to remove until now.
Thanks for your patience,
Dwarf
--
_-_-_-_-_- Author of "The Debian Linux User's Guide" _-_-_-_-_-_-
aka Dale Scheetz Phone: 1 (850) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: dwarf@polaris.net Tallahassee, FL 32308
_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: