Re: quitting from install scripts
On 22-Feb-01, 07:24 (CST), Drew Parsons <dparsons@emerall.com> wrote:
> Arrgh, I already raised this question twice at debian-mentors, but no one's
> answered, so in impatience I'm bringing it up here. I can't believe it's
> all *that* stupid a question. Is there an answer?
>
> > What is the usual approach to handling the aborting of a package
> > installation? Is it appropriate to "exit 1" in preinst if the user chooses
> > "Quit", halting the installation of the package?
(I saw that you have decided not to do that, but anyway:)
Read the packaging-manual section about the way the maintainer scripts
are called and how dpkg responds to their failure.
Steve
--
Steve Greenland <stevegr@debian.org>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)
Reply to: