[PATCH] inform user if any postinstall script failed to run

Jon TURNEY jon.turney@dronecode.org.uk
Fri Jul 23 18:49:00 GMT 2010


Here's a small patch for setup.exe which causes setup to indicate if a 
postinstall script didn't run successfully.

This should help avoid the situation where the postinstall scripts fail to run 
and the user has a broken installation, but they don't notice until they try 
to run something which relies on postinstall scripts, e.g [1] and I'm sure 
there are other examples.

[1] http://cygwin.com/ml/cygwin-xfree/2010-07/msg00084.html

ChangeLog:

	* postinstall.cc : Note if any postinstall script fails and tell
	the user with an error messagebox
	* script.cc (run): Don't rename script as .done if it didn't run
	successfully
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: postinstall_failure_error.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20100723/beb3b8f8/attachment.ksh>


More information about the Cygwin-apps mailing list