[PATCH] Allow logging of {pre,post}remove scripts

Robert Collins rbcollins@cygwin.com
Sat Apr 12 13:39:00 GMT 2003


On Tue, 2003-04-01 at 11:28, Igor Pechtchanski wrote:


> I agree with the sentiment above.  I also think that moving all the static
> functionality into the Script class is the way to go.  However, as spare
> time is sparse these days, I probably won't get to it for a bit.  In the
> meantime, the attached patch provides logging for preremove script in a
> minimal way.

Well, I've taken a slightly less minimal way. I've removed the to_log
parameter, as I indicated was my preference :}.

I've left the to_log BOOL in place, for now.

Let me be clear about this though: If you don't provide a patch to
parameterise the behaviour (or to make use of the non logged
functionality) I will remove the conditionals eventually.

I don't want to have the code more complex than needed, just for some
'eventual' purpose.

Rob


-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030412/91dd501e/attachment.sig>


More information about the Cygwin-apps mailing list