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: cygport patches for TeX Live


On 12/18/2014 9:22 AM, Achim Gratz wrote:
Ken Brown writes:
+	if [ -d /usr/share/texmf-dist ]

Looks like you'd want
	if [ -d ${D}/usr/share/texmf-dist ]
here.

In postinstall scripts we remove the updmap calls completely and
instead create a file of commands in /etc/texmf/postinstall, to be run
by a perpetual postinstall script.  In preremove scripts we just group
the commands into a single call to updmap, since setup.exe doesn't yet
support perpetual preremove scripts.

I don't really like the idea of using /etc directly for this, what if
every package starts doing that?  If /usr/share/<package>/postinstall

/usr/share/postinstall/<package>

please

doesn't work, we should at least create a subdirectory in /etc for this
purpose.


Regards,
Achim.



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