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

Dave Korn dave.korn.cygwin@gmail.com
Fri Jul 30 20:17:00 GMT 2010


On 30/07/2010 15:37, Christopher Faylor wrote:

> 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)

  I finally got bored of this one.  Turned out to be trivially easy to fix
once I looked at it, it's simply an early exit from the install routine when
there's nothing to do for a dummy tarball (zero or 46-byte size) that misses
out on marking the package as installed.

setup/ChangeLog:

	* install.cc (Installer::installOne): Also record zero-sized
	tarballs as successfully installed.

  OK?

    cheers,
      DaveK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-install-zerosize-binaries.diff
Type: text/x-c
Size: 691 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20100730/88ac68b4/attachment.bin>


More information about the Cygwin-apps mailing list