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] |
Ken Brown, 2014.11.17. 12:00 :
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.] 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. 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. 3. I would create a post-postinstall perpetual script that runs updmap-sys and fc-cache as needed.
I have a half-baked cygport patch for texlive postinstall. I dropped it because I don't use cygwin's tex anymore, but it may have some value.
Packages put commands in /etc/postinstall/texlive. The first postinstall script runs and removes them, so subsequent postinsall scripts will see an empty workqueue. Ordering is done by assigning priorities to commands.
s
Attachment:
0001-postinst-cross-package-texlive-script-consolidation.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |