This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] setup: implement "perpetual" postinstall scripts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]