Check for postinstall script failure in setup?

Igor Pechtchanski
Mon Jul 4 15:43:00 GMT 2005

In a recent report (<>)
on the Cygwin list, I suspect the postinstall script for man silently
failed, and nobody detected it (well, something was printed to the log,
but who reads those?).

Should we introduce a notion of failure for postinstall scripts?  And have
setup warn if some postinstall scripts failed?  This will require
postinstall scripts to either "set -e" or use other means to exit on
error, and having setup check the error code.

If this idea sounds reasonable, I could work on adding the code to setup.
Without maintainer cooperation, however, this wouldn't be very useful,
hence this post.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

More information about the Cygwin-apps mailing list