cygport: How to suppress automatic postinstall script additions

Ken Brown kbrown@cornell.edu
Mon Mar 5 22:50:00 GMT 2012


On 3/5/2012 4:23 PM, Yaakov (Cygwin/X) wrote:
> On Mon, 2012-03-05 at 12:59 -0500, Ken Brown wrote:
>> On 3/5/2012 12:32 PM, Yaakov (Cygwin/X) wrote:
>>> OK, here's the fix:
>>>
>>> 1) Install cygport-0.10.8.1-1 (released just moments ago).
>>>
>>> 2) Bump collection-basic to $today and build it with newly-downloaded
>>> sources.
>>>
>>> 3) Bump collection-langcjk to $today, add 'jfontmaps' to ARCH_PKGS, and
>>> build with newly-downloaded sources.
>>>
>>> After installing the new collection-basic with the new postinstall
>>> script, the aforementioned xetex test works.
>>
>> In your new postinstall script, I wonder if it would be better to delete
>> /etc/texmf/web2c/updmap.cfg rather than editing it.  The reason is that
>> the master updmap.cfg in /usr/share/texmf/web2c may have changed due to
>> the addition or deletion of TL packages containing fonts, and I don't
>> think these changes get propagated to /etc/texmf/web2c/updmap.cfg.
>
> The problem with that is any settings in TEXMFSYSCONFIG/web2c/updmap.cfg
> would be lost.  What about the attached patch for cygport?

I won't have a chance to test it until tomorrow, but it looks good at 
first glance.  One question:  I don't see where you take account of 
fonts that might have been deleted.  Shouldn't updmap-sys 
--syncwithtrees be run on every postinstall to catch these?

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list