This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [PATCH] setup: implement "perpetual" postinstall scripts
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 6 Feb 2013 15:23:09 -0500
- Subject: Re: [PATCH] setup: implement "perpetual" postinstall scripts
- References: <87pq0dyzou.fsf@Rainer.invalid>
- Reply-to: cygwin-apps at cygwin dot com
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