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 called as > "ae". The fact that editor will not envoke the ae editor is, at this > point, unavoidable, but not any reason to reject the rest of the > install process.
It's not reason to reject the rest of the install process (and that isn't the result of set -e in the postinst), it is however reason to tell dpkg that something went wrong with configuring ae. Hiding that is plain wrong. postinst's are like unix scripts, and an exit code of 0 means success. If update-alternatives failed and the editor alternative is hosed, the postinst did not succeeded and should not pretend it did. -- James ~Yawn And Walk North~ http://yawn.nocrew.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]