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: [RFC] incremental rebase


Ken Brown writes:
> What I have in mind is simpler than this.  There's nothing wrong with
> the existing texlive postinstall scripts except slowness, due to the
> repetition of time-consuming commands in different scripts.  So I just
> need to do some rearranging:
>
> 1. I would create a pre-postinstall perpetual script that checks
> /etc/postinstall to see if there are any ordinary texlive postinstall
> scripts that are not marked as done.  If so, it runs mktexlsr.  [This
> may not be necessary; I have to think about it some more.]

If the ls-R file is younger than the package file in /etc/setup, then it
has already been re-created in that postinstall session, I'd think.

> 2. I would modify all ordinary texlive postinstall scripts to remove
> all calls to mktexlsr, fc-cache, and updmap-sys, except for calls to
> the latter that simply enable maps.

If the above works, leave them in and conditionalize on the result of
that test.

> And I would remove the --nohash
> option from those.  In addition, these scripts would create a marker
> file to indicate that updmap-sys and fc-cache need to be run later.

It might be possible to just do this based on the timestamps as well,
that is if ls-R is younger than some file, re-run updmap and fc-cache.

> 3. I would create a post-postinstall perpetual script that runs
> updmap-sys and fc-cache as needed.

Indeed.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


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