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]

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



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

Attachment: postinstall_failure_error.patch
Description: Text document


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