On Jul 4 11:43, Igor Pechtchanski wrote: > 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.
Sounds like a good plan to me and I guess a lot of postinstall scripts will already return a non-0 exit code, for a start. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc.