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

Jon TURNEY jon.turney@dronecode.org.uk
Fri Jul 30 20:35:00 GMT 2010


On 30/07/2010 15:37, Christopher Faylor wrote:
> On Thu, Jul 29, 2010 at 05:28:02PM +0100, Jon TURNEY wrote:
>> On 28/07/2010 15:58, Christopher Faylor wrote:
>>> On Wed, Jul 28, 2010 at 03:25:17PM +0100, Jon TURNEY wrote:
>>>> Anyhow, here's another attempt, which unfortunately changes rather more than I
>>>> wanted to.  It adds a new page, which is displayed if any script failed, and
>>>> reports which packages and scripts failed.
>>>
>>> That is great.  Please check in (with a ChangeLog of course).
>>>
>>> I just gave you the ability to check into cygwin-apps and, if you want to update
>>> the documentation to winsup/doc.
>>
>> Thanks. I've checked in the changes to cygwin-apps.
>>
>> I'll have a look at what documentation changes might be needed.
>
> Jon, I just tried this and I'm getting a blank "Postinstall script
> errors" page.  The only two packages that should have been installed
> were
>
> gcc: C compiler upgrade helper
> glib: Gnome C function library (1.2 sources)
>
> (both of which are selected due to a setup.exe bug)
>
> A brief glance at your new code seems to show that this is not intended
> behavior.  Do you have any idea why this is happening?

Looks like I managed to break it somewhere along the way.  See patch.

Sorry about that.

> On 29/07/2010 22:09, Andy Koppe wrote:
>> On 29 July 2010 20:39, Christopher Faylor wrote:
>>> >  On Thu, Jul 29, 2010 at 05:28:02PM +0100, Jon TURNEY wrote:
>>> >  I'm grateful that you and Andy have decided to take over
>>> >  setup.exe maintainership.  I have a whole bunch of enhancement requests for you.
>> Nice try, but no, Jon can have it all to himself. ;)
>>
>> Andy.run(Direction::AWAY, Speed::VERY_HASTILY);

I think my shame at such a terrible mistake means I'll have to decline this 
honour :-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_stupidity.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20100730/bc18ef46/attachment.ksh>


More information about the Cygwin-apps mailing list