cygport: TeX Live postinstall scripts shouldn't enable all formats
Ken Brown
kbrown@cornell.edu
Sun Dec 23 22:42:00 GMT 2012
I've just discovered that some TeX Live packages have formats that are
supposed to be disabled by default. This is indicated by the presence
of "mode=disabled" in the "execute AddFormat ..." line in the .tlpobj
file. The documentation for this is in
/usr/share/tlpkg/TeXLive/TLPSRC.pm. But the postinstall scripts
generated by cygport enable these formats anyway. The attached patch
fixes this.
Ken
-------------- next part --------------
--- texlive.cygclass.orig 2012-11-21 00:02:08.000000000 -0500
+++ texlive.cygclass 2012-12-23 17:14:42.042923600 -0500
@@ -203,6 +203,7 @@
done
for fmt in $(grep -E 'execute AddFormat' $tlpobj \
+ | grep -v 'mode=disabled' \
| sed 's/.* name=\([^ ]*\).*/\1/g')
do
__config_set texlive_fmts "$(__config_get texlive_fmts) $fmt"
More information about the Cygwin-apps
mailing list