[PATCH] setup: fix abnormal exit test for postinstall scripts

Dave Korn dave.korn@artimi.com
Thu Mar 9 23:29:00 GMT 2006


On 09 March 2006 23:14, Max Bowsher wrote:


>>> 	* script.cc (Script::run): Fix inverted test for abnormal exit.
>>> 	Do not rename to ".done" unless completed successfully.
>> 
>> And ping (attached as "setup-script-exit-code-fix.patch").
> 
> Do we necessarily want to try to re-run failed scripts the next time
> setup installs some packages?
> 
> Perhaps renaming to ".failed" would be better that not renaming.
> 
> Max.


  Perhaps setup should check when you first start it up whether there are any
postinstall scripts left lying around from last time and offer to run them for
you then and there?  Failed postinstalls should be run to completion *before*
next updating the package!


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Cygwin-apps mailing list