[PATCH] setup: implement "perpetual" postinstall scripts
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Wed Feb 6 20:23:00 GMT 2013
On Wed, Feb 06, 2013 at 09:06:41PM +0100, Achim Gratz wrote:
>This is another patch against setup (on top of my earlier series,
>although I think it'd also apply against the current CVS head). The
>objective is to provide postinstall scripts that are never marked
>".done" and hence will run at each installation without having to
>re-install the package that provided them. I intend to use this for the
>incremental autorebase, which is why these scripts has been arranged to
>run before any other postinstall scripts (this ensures that the system
>is already properly rebased when these are finally run). I expect that
>some other housekeeping tasks (like updating the info directory) could
>benefit some a similar arrangement.
You should make it clear why the current mechanism is unsatisfactory.
_autorebase is already designed to be run whenever a dll is updated.
Maybe it isn't being run early enough in the postinstall process but,
if that is the case, it probably is a minor change to setup.exe which
doesn't involve lots of new code.
cgf
More information about the Cygwin-apps
mailing list