Check for postinstall script failure in setup?
Igor Pechtchanski
pechtcha@cs.nyu.edu
Mon Jul 4 15:43:00 GMT 2005
In a recent report (<http://cygwin.com/ml/cygwin/2005-07/msg00089.html>)
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.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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