Hicks, Jamey writes:
> > # return success
> > exit 0;
>
> Only if there was no error. What I wrote does that -- there's no need for an explicit call to exit.
If it's the last thing in the postinst script there is a need, because
then the exit code is going to be non-zero. Perhaps *this* is the
best way to say it:
if [ -x /usr/bin/update-menus && ! /usr/bin/update-menus ]; then exit $?; fi
-- -russ nelson http://russnelson.com | New Internet Acronym: Crynwr sells support for free software | PGPok | 521 Pleasant Valley Rd. | +1 315 268 1925 voice | IANAE Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | I Am Not An EconomistReceived on Tue Aug 06 18:01:28 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:29 EDT