diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil.pl | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index 410c8bbea66..710d1fae740 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -860,34 +860,33 @@ sub rebuild_one_format { $first_time_creation_in_usermode = $possibly_warn; # # original fmtutil.sh did some magic trick for mplib-luatex.mem - # # nowadays no mplib mem is created and all files loaded # so we comment and do not convert this # - # As a special special case, we create mplib-luatex.mem for use by - # the mplib embedded in luatex if it doesn't already exist. (We - # never update it if it does exist.) - # - # This is used by the luamplib package. This way, an expert user - # who wants to try a new version of luatex (hence with a new - # version of mplib) can manually update mplib-luatex.mem without - # having to tamper with mpost itself. - # - # if test "x$format" = xmpost && test "x$engine" = xmpost; then - # mplib_mem_name=mplib-luatex.mem - # mplib_mem_file=$fulldestdir/$mplib_mem_name - # if test \! -f $mplib_mem_file; then - # verboseMsg "$progname: copying $destfile to $mplib_mem_file" - # if cp "$destfile" "$mplib_mem_file" </dev/null; then - # mktexupd "$fulldestdir" "$mplib_mem_name" - # else - # # failure to copy merits failure handling: e.g., full file system. - # log_failure "cp $destfile $mplib_mem_file failed." - # fi - # else - # verboseMsg "$progname: $mplib_mem_file already exists, not updating." - # fi - # fi + ## As a special special case, we create mplib-luatex.mem for use by + ## the mplib embedded in luatex if it doesn't already exist. (We + ## never update it if it does exist.) + ## + ## This is used by the luamplib package. This way, an expert user + ## who wants to try a new version of luatex (hence with a new + ## version of mplib) can manually update mplib-luatex.mem without + ## having to tamper with mpost itself. + ## + ## if test "x$format" = xmpost && test "x$engine" = xmpost; then + ## mplib_mem_name=mplib-luatex.mem + ## mplib_mem_file=$fulldestdir/$mplib_mem_name + ## if test \! -f $mplib_mem_file; then + ## verboseMsg "$progname: copying $destfile to $mplib_mem_file" + ## if cp "$destfile" "$mplib_mem_file" </dev/null; then + ## mktexupd "$fulldestdir" "$mplib_mem_name" + ## else + ## ## failure to copy merits failure handling: e.g., full file system. + ## log_failure "cp $destfile $mplib_mem_file failed." + ## fi + ## else + ## verboseMsg "$progname: $mplib_mem_file already exists, not updating." + ## fi + ## fi if ($mktexfmtMode && $mktexfmtFirst) { print "$destfile\n"; |