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

Brian Keener bkeener@thesoftwaresource.com
Mon Mar 24 16:20:00 GMT 2003


Igor Pechtchanski wrote:
> This patch extends logging support to preremove/postremove scripts.
>  Igor
> =================
>
Igor,

gave the patch a shot on my Win2k and Win95 laptops  and reinstalling gcc-mingw 
an inetutils and the Command window seems to be gone but other than the 
reference to install of the gcc-mingw preremove script I could find nothing in 
setup.log.full (this is the right place for this one right) about its having 
been executed.  The postinstall gcc-mingw script does have a reference for its 
install and its execution - is that what I should see as well for the 
preremove.

I also noticed when I reinstalled gcc-mingw that a gcc-mingw.sh was created in 
preremove and postinstall and as we have already tested in postinstall it gets 
renamed to gcc-mingw.sh.done but in preremove it appears to be copied (not 
moved or renamed) to gcc-mingw.sh.done - so then there are two in preremove - a 
done and a not done.

Hope this helps

bk




More information about the Cygwin-apps mailing list