This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Check for postinstall script failure in setup?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]