texlive[65998] trunk: do_cmd_and_check in tlmgr; more sync

commits+karl at tug.org commits+karl at tug.org
Tue Feb 21 02:33:24 CET 2023


Revision: 65998
          http://tug.org/svn/texlive?view=revision&revision=65998
Author:   karl
Date:     2023-02-21 02:33:24 +0100 (Tue, 21 Feb 2023)
Log Message:
-----------
do_cmd_and_check in tlmgr; more sync

Modified Paths:
--------------
    trunk/Build/source/texk/tests/TeXLive/TLConfig.pm
    trunk/Build/source/texk/tests/TeXLive/TLUtils.pm
    trunk/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
    trunk/Master/install-tl
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl

Removed Paths:
-------------
    trunk/Master/bin/windows/a5bookle.bat
    trunk/Master/bin/windows/a5bookle.exe
    trunk/Master/bin/windows/doubside.bat
    trunk/Master/texmf-dist/scripts/context/stubs/mswin/mptopdf.exe

Modified: trunk/Build/source/texk/tests/TeXLive/TLConfig.pm
===================================================================
--- trunk/Build/source/texk/tests/TeXLive/TLConfig.pm	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Build/source/texk/tests/TeXLive/TLConfig.pm	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,5 +1,5 @@
 # TeXLive::TLConfig.pm - module exporting configuration values
-# Copyright 2007-2022 Norbert Preining
+# Copyright 2007-2023 Norbert Preining
 # This file is licensed under the GNU General Public License version 2
 # or any later version.
 
@@ -6,7 +6,7 @@
 use strict; use warnings;
 package TeXLive::TLConfig;
 
-my $svnrev = '$Revision: 63068 $';
+my $svnrev = '$Revision: 65950 $';
 my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
 sub module_revision { return $_modulerevision; }
 
@@ -61,7 +61,7 @@
 
 # the year of our release, will be used in the location of the
 # network packages, and in menu names, and other places.
-our $ReleaseYear = 2022;
+our $ReleaseYear = 2023;
 
 # users can upgrade from this year to the current year; might be the
 # same as the release year, or any number of releases earlier.
@@ -118,8 +118,8 @@
 our @CriticalPackagesList = qw/texlive.infra/;
 our $CriticalPackagesRegexp = '^(texlive\.infra)';
 if ($^O =~ /^MSWin/i) {
-  push (@CriticalPackagesList, "tlperl.win32");
-  $CriticalPackagesRegexp = '^(texlive\.infra|tlperl\.win32$)';
+  push (@CriticalPackagesList, "tlperl.windows");
+  $CriticalPackagesRegexp = '^(texlive\.infra|tlperl\.windows$)';
 }
 
 
@@ -366,7 +366,7 @@
 =item C<@TeXLive::TLConfig::CriticalPackagesRegexp>
 
 A list of all those packages which we do not update regularly since they
-are too central, currently texlive.infra and (for Windows) tlperl.win32.
+are too central, currently texlive.infra and (for Windows) tlperl.windows.
 
 =item C<@TeXLive::TLConfig::InstallExtraRequiredPackages>
 

Modified: trunk/Build/source/texk/tests/TeXLive/TLUtils.pm
===================================================================
--- trunk/Build/source/texk/tests/TeXLive/TLUtils.pm	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Build/source/texk/tests/TeXLive/TLUtils.pm	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,5 +1,5 @@
 # TeXLive::TLUtils.pm - the inevitable utilities for TeX Live.
-# Copyright 2007-2022 Norbert Preining, Reinhard Kotucha
+# Copyright 2007-2023 Norbert Preining, Reinhard Kotucha
 # This file is licensed under the GNU General Public License version 2
 # or any later version.
 
@@ -7,7 +7,7 @@
 
 package TeXLive::TLUtils;
 
-my $svnrev = '$Revision: 64503 $';
+my $svnrev = '$Revision: 65994 $';
 my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
 sub module_revision { return $_modulerevision; }
 
@@ -26,7 +26,7 @@
   TeXLive::TLUtils::platform();
   TeXLive::TLUtils::platform_name($canonical_host);
   TeXLive::TLUtils::platform_desc($platform);
-  TeXLive::TLUtils::win32();
+  TeXLive::TLUtils::wndws();
   TeXLive::TLUtils::unix();
 
 =head2 System tools
@@ -264,7 +264,7 @@
   @EXPORT = qw(setup_programs download_file process_logging_options
                tldie tlwarn info log debug ddebug dddebug debug
                debug_hash_str debug_hash
-               win32 xchdir xsystem run_cmd system_pipe sort_archs);
+               wndws xchdir xsystem run_cmd system_pipe sort_archs);
 }
 
 use Cwd;
@@ -284,7 +284,7 @@
 =item C<platform>
 
 If C<$^O =~ /MSWin/i> is true we know that we're on
-Windows and we set the global variable C<$::_platform_> to C<win32>.
+Windows and we set the global variable C<$::_platform_> to C<windows>.
 Otherwise we call C<platform_name> with the output of C<config.guess>
 as argument.
 
@@ -296,13 +296,16 @@
 systems, such as Solaris, we have to look for a shell. We use the value
 of the C<CONFIG_SHELL> environment variable if it is set, else
 C</bin/ksh> if it exists, else C</bin/bash> if it exists, else give up.
+Happily, C<config.guess> later reverted this change, but we keep our
+shell-finding code anyway to defend against future mistakes of the same ilk.
 
 =cut
 
 sub platform {
-  unless (defined $::_platform_) {
+  if (! defined $::_platform_) {
     if ($^O =~ /^MSWin/i) {
-      $::_platform_ = "win32";
+      print STDERR "\$^O is $^O\n";
+      $::_platform_ = "windows";
     } else {
       my $config_guess = "$::installerdir/tlpkg/installer/config.guess";
 
@@ -527,7 +530,8 @@
     'sparc-linux'      => 'GNU/Linux on Sparc',
     'sparc-solaris'    => 'Solaris on Sparc',
     'universal-darwin' => 'MacOSX current (10.14-) on ARM/x86_64',
-    'win32'            => 'Windows',
+    'win32'            => 'Windows (32-bit)',
+    'windows'          => 'Windows (64-bit)',
     'x86_64-cygwin'    => 'Cygwin on x86_64',
     'x86_64-darwinlegacy' => 'MacOSX legacy (10.6-) on x86_64',
     'x86_64-dragonfly' => 'DragonFlyBSD on x86_64',
@@ -550,7 +554,7 @@
 }
 
 
-=item C<win32>
+=item C<wndws>
 
 Return C<1> if platform is Windows and C<0> otherwise.  The test is
 currently based on the value of Perl's C<$^O> variable.
@@ -557,7 +561,7 @@
 
 =cut
 
-sub win32 {
+sub wndws {
   if ($^O =~ /^MSWin/i) {
     return 1;
   } else {
@@ -564,7 +568,7 @@
     return 0;
   }
   # the following needs config.guess, which is quite bad ...
-  # return (&platform eq "win32")? 1:0;
+  # return (&platform eq "windows")? 1:0;
 }
 
 
@@ -575,7 +579,7 @@
 =cut
 
 sub unix {
-  return (&platform eq "win32")? 0:1;
+  return (&platform eq "windows")? 0:1;
 }
 
 
@@ -599,7 +603,7 @@
   my $envvar=shift;
   my $var=$ENV{"$envvar"};
   return 0 unless (defined $var);
-  if (&win32) {
+  if (&wndws) {
     $var=~s!\\!/!g;  # change \ -> / (required by Perl)
   }
   return "$var";
@@ -621,7 +625,7 @@
   my @PATH;
   my $PATH = getenv('PATH');
 
-  if (&win32) {
+  if (&wndws) {
     my @PATHEXT = split (';', getenv('PATHEXT'));
     push (@PATHEXT, '');  # in case argument contains an extension
     @PATH = split (';', $PATH);
@@ -788,7 +792,7 @@
   my ($prog, $infile, $outfile, $removeIn, @extraargs) = @_;
   
   my $progQuote = quotify_path_with_spaces($prog);
-  if (win32()) {
+  if (wndws()) {
     $infile =~ s!/!\\!g;
     $outfile =~ s!/!\\!g;
   }
@@ -821,7 +825,7 @@
 sub diskfree {
   my $td = shift;
   my ($output, $retval);
-  if (win32()) {
+  if (wndws()) {
     # the powershell one-liner only works from win8 on.
     my @winver = Win32::GetOSVersion();
     if ($winver[1]<=6 && $winver[2]<=1) {
@@ -904,7 +908,7 @@
 
 sub get_user_home {
   return $user_home_dir if ($user_home_dir);
-  $user_home_dir = getenv (win32() ? 'USERPROFILE' : 'HOME') || '~';
+  $user_home_dir = getenv (wndws() ? 'USERPROFILE' : 'HOME') || '~';
   return $user_home_dir;
 }
 
@@ -939,7 +943,7 @@
 sub dirname_and_basename {
   my $path=shift;
   my ($share, $base) = ("", "");
-  if (win32) {
+  if (wndws()) {
     $path=~s!\\!/!g;
   }
   # do not try to make sense of paths ending with /..
@@ -948,7 +952,7 @@
     # eliminate `/.' path components
     while ($path =~ s!/\./!/!) {};
     # UNC path? => first split in $share = //xxx/yy and $path = /zzzz
-    if (win32() and $path =~ m!^(//[^/]+/[^/]+)(.*)$!) {
+    if (wndws() and $path =~ m!^(//[^/]+/[^/]+)(.*)$!) {
       ($share, $path) = ($1, $2);
       if ($path =~ m!^/?$!) {
         $path = $share;
@@ -1006,7 +1010,7 @@
 
 sub tl_abs_path {
   my $path = shift;
-  if (win32) {
+  if (wndws()) {
     $path=~s!\\!/!g;
   }
   if (-e $path) {
@@ -1016,13 +1020,13 @@
   } else{
     # collapse /./ components
     $path =~ s!/\./!/!g;
-    # no support for .. path components or for win32 long-path syntax
+    # no support for .. path components or for windows long-path syntax
     # (//?/ path prefix)
     die "Unsupported path syntax" if $path =~ m!/\.\./! || $path =~ m!/\.\.$!
       || $path =~ m!^\.\.!;
-    die "Unsupported path syntax" if win32() && $path =~ m!^//\?/!;
+    die "Unsupported path syntax" if wndws() && $path =~ m!^//\?/!;
     if ($path !~ m!^(.:)?/!) { # relative path
-      if (win32() && $path =~ /^.:/) { # drive letter
+      if (wndws() && $path =~ /^.:/) { # drive letter
         my $dcwd;
         # starts with drive letter: current dir on drive
         $dcwd = Cwd::getdcwd ($1);
@@ -1056,7 +1060,7 @@
 sub dir_creatable {
   my $path=shift;
   #print STDERR "testing $path\n";
-  $path =~ s!\\!/!g if win32;
+  $path =~ s!\\!/!g if wndws;
   return 0 unless -d $path;
   $path .= '/' unless $path =~ m!/$!;
   #print STDERR "testing $path\n";
@@ -1098,7 +1102,7 @@
 sub dir_writable {
   my ($path) = @_;
   return 0 unless -d $path;
-  $path =~ s!\\!/!g if win32;
+  $path =~ s!\\!/!g if wndws;
   $path .= '/' unless $path =~ m!/$!;
   my $i = 0;
   my $f;
@@ -1142,9 +1146,9 @@
     $ret = 1;
   } else {
     my $subdir = "";
-    # win32 is special as usual: we need to separate //servername/ part
+    # windows is special as usual: we need to separate //servername/ part
     # from the UNC path, since (! -d //servername/) tests true
-    $subdir = $& if ( win32() && ($tree =~ s!^//[^/]+/!!) );
+    $subdir = $& if ( wndws() && ($tree =~ s!^//[^/]+/!!) );
 
     my @dirs = split (/[\/\\]/, $tree);
     for my $dir (@dirs) {
@@ -1617,13 +1621,13 @@
     # what should we do with not existing entries????
     next if (! -r "$f");
     my $abs_f = Cwd::abs_path ($f);
-    # the following is necessary because on win32,
+    # the following is necessary because on windows,
     #   abs_path("tl-portable")
     # returns
     #   c:\tl test\...
     # and not forward slashes, while, if there is already a forward /
     # in the path, also the rest is done with forward slashes.
-    $abs_f =~ s!\\!/!g if win32();
+    $abs_f =~ s!\\!/!g if wndws();
     if (!$abs_f) {
       warn ("oops, no abs_path($f) from " . `pwd`);
       next;
@@ -1883,7 +1887,7 @@
 
 sub _do_postaction_fileassoc {
   my ($how, $mode, $tlpobj, $pa) = @_;
-  return 1 unless win32();
+  return 1 unless wndws();
   my ($errors, %keyval) =
     parse_into_keywords($pa, qw/extension filetype/);
 
@@ -1921,7 +1925,7 @@
 
 sub _do_postaction_filetype {
   my ($how, $tlpobj, $pa) = @_;
-  return 1 unless win32();
+  return 1 unless wndws();
   my ($errors, %keyval) =
     parse_into_keywords($pa, qw/name cmd/);
 
@@ -1966,7 +1970,7 @@
 # associated program shows up in `open with' menu
 sub _do_postaction_progid {
   my ($how, $tlpobj, $pa) = @_;
-  return 1 unless win32();
+  return 1 unless wndws();
   my ($errors, %keyval) =
     parse_into_keywords($pa, qw/extension filetype/);
 
@@ -2016,7 +2020,7 @@
     return 0;
   }
   my $file = $keyval{'file'};
-  if (win32() && defined($keyval{'filew32'})) {
+  if (wndws() && defined($keyval{'filew32'})) {
     $file = $keyval{'filew32'};
   }
   my $texdir = `kpsewhich -var-value=TEXMFROOT`;
@@ -2046,7 +2050,7 @@
 
 sub _do_postaction_shortcut {
   my ($how, $tlpobj, $do_menu, $do_desktop, $pa) = @_;
-  return 1 unless win32();
+  return 1 unless wndws();
   my ($errors, %keyval) =
     parse_into_keywords($pa, qw/type name icon cmd args hide/);
 
@@ -2317,7 +2321,7 @@
   my $plat_bindir = "$Master/bin/$arch";
 
   # nothing to do with symlinks on Windows, of course.
-  return if win32();
+  return if wndws();
 
   my $info_dir = "$Master/texmf-dist/doc/info";
   if ($mode eq "add") {
@@ -2403,7 +2407,7 @@
 
 sub w32_add_to_path {
   my ($bindir, $multiuser) = @_;
-  return if (!win32());
+  return if (!wndws());
 
   my $path = TeXLive::TLWinGoo::get_system_env() -> {'/Path'};
   $path =~ s/[\s\x00]+$//;
@@ -2648,7 +2652,7 @@
 
   # on w32 don't extract file modified time, because AV soft can open
   # files in the mean time causing time stamp modification to fail
-  my $taropt = win32() ? "xmf" : "xf";
+  my $taropt = wndws() ? "xmf" : "xf";
   if (system($tar, $taropt, $tarfile) != 0) {
     tlwarn("TLUtils::untar: $tar $taropt $tarfile failed (in $targetdir)\n");
     $ret = 0;
@@ -3146,7 +3150,7 @@
 
 sub _download_file_program {
   my ($url, $dest, $type) = @_;
-  if (win32()) {
+  if (wndws()) {
     $dest =~ s!/!\\!g;
   }
   
@@ -3195,7 +3199,7 @@
 =cut
 
 sub nulldev {
-  return (&win32()) ? 'nul' : '/dev/null';
+  return (&wndws()) ? 'nul' : '/dev/null';
 }
 
 =item C<get_full_line ($fh)>
@@ -4058,7 +4062,7 @@
   # Unfortunately we have lots of special characters.
   # On Windows, backslashes are normal but will already have been changed
   # to slashes by tl_abs_path. And we should only check for : on Unix.
-  my $colon = win32() ? "" : ":";
+  my $colon = wndws() ? "" : ":";
   if ($texdir =~ /[,$colon;\\{}\$]/) {
     if ($warn) {
       print "     !! TEXDIR value has problematic characters: $orig_texdir\n";
@@ -4071,7 +4075,7 @@
     return 0;
   }
   # w32: for now, reject the root of a samba share
-  return 0 if win32() && $texdir =~ m!^//[^/]+/[^/]+$!;
+  return 0 if wndws() && $texdir =~ m!^//[^/]+/[^/]+$!;
 
   # if texdir already exists, make sure we can write into it.
   return dir_writable($texdir) if (-d $texdir);
@@ -4102,7 +4106,7 @@
 
 sub quotify_path_with_spaces {
   my $p = shift;
-  my $m = win32() ? '[+=^&();,!%\s]' : '.';
+  my $m = wndws() ? '[+=^&();,!%\s]' : '.';
   if ( $p =~ m/$m/ ) {
     $p =~ s/"//g; # remove any existing double quotes
     $p = "\"$p\""; 
@@ -4150,13 +4154,13 @@
 
 sub native_slashify {
   my ($r) = @_;
-  $r =~ s!/!\\!g if win32();
+  $r =~ s!/!\\!g if wndws();
   return $r;
 }
 
 sub forward_slashify {
   my ($r) = @_;
-  $r =~ s!\\!/!g if win32();
+  $r =~ s!\\!/!g if wndws();
   return $r;
 }
 
@@ -4238,7 +4242,7 @@
 # 
 sub query_ctan_mirror_curl {
   my $max_trial = 3;
-  my $warg = (win32() ? '-w "%{url_effective}" ' : "-w '%{url_effective}' ");
+  my $warg = (wndws() ? '-w "%{url_effective}" ' : "-w '%{url_effective}' ");
   for (my $i = 1; $i <= $max_trial; $i++) {
     # -L -> follow redirects
     # -s -> silent
@@ -4845,7 +4849,7 @@
           die "mktexupd: exec file does not exist: $file" if (! -f $file);
         }
       }
-      my $delim= (&win32)? ';' : ':';
+      my $delim= (&wndws)? ';' : ':';
       my $TEXMFDBS;
       chomp($TEXMFDBS=`kpsewhich --show-path="ls-R"`);
 
@@ -4855,8 +4859,8 @@
       foreach my $path (keys %files) {
         foreach my $db (@texmfdbs) {
           $db=substr($db, -1) if ($db=~m|/$|); # strip leading /
-          $db = lc($db) if win32();
-          my $up = (win32() ? lc($path) : $path);
+          $db = lc($db) if wndws();
+          my $up = (wndws() ? lc($path) : $path);
           if (substr($up, 0, length("$db/")) eq "$db/") {
             # we appended a / because otherwise "texmf" is recognized as a
             # substring of "texmf-dist".
@@ -4988,7 +4992,7 @@
 
 sub prepend_own_path {
   my $bindir = dirname(Cwd::abs_path(which('kpsewhich')));
-  if (win32()) {
+  if (wndws()) {
     $bindir =~ s!\\!/!g;
     $ENV{'PATH'} = "$bindir;$ENV{PATH}";
   } else {

Modified: trunk/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,5 +1,5 @@
 #!/usr/bin/env perl
-# $Id: fmtutil.pl 65932 2023-02-19 20:49:48Z siepo $
+# $Id: fmtutil.pl 65989 2023-02-20 21:52:59Z karl $
 # fmtutil - utility to maintain format files.
 # (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.)
 # 
@@ -24,11 +24,11 @@
   TeX::Update->import();
 }
 
-my $svnid = '$Id: fmtutil.pl 65932 2023-02-19 20:49:48Z siepo $';
-my $lastchdate = '$Date: 2023-02-19 21:49:48 +0100 (Sun, 19 Feb 2023) $';
+my $svnid = '$Id: fmtutil.pl 65989 2023-02-20 21:52:59Z karl $';
+my $lastchdate = '$Date: 2023-02-20 22:52:59 +0100 (Mon, 20 Feb 2023) $';
 $lastchdate =~ s/^\$Date:\s*//;
 $lastchdate =~ s/ \(.*$//;
-my $svnrev = '$Revision: 65932 $';
+my $svnrev = '$Revision: 65989 $';
 $svnrev =~ s/^\$Revision:\s*//;
 $svnrev =~ s/\s*\$$//;
 my $version = "r$svnrev ($lastchdate)";
@@ -711,8 +711,10 @@
 
   # Add -kanji-internal option for create (e-)p(La)TeX format
   # with (e-)upTeX's pTeX compatible mode.
-  if ($eng =~ /^e?uptex$/ && $fmt =~ /^e?p/ && $addargs !~ /-kanji-internal=/) {
-    my $kanji = win32() ? "sjis" : "euc";
+  if ($eng =~ /^e?uptex$/
+      && $fmt =~ /^e?p/
+      && $addargs !~ /-kanji-internal=/) {
+    my $kanji = wndws() ? "sjis" : "euc";
     $addargs = "-kanji-internal=$kanji " . $addargs;
   }
 

Deleted: trunk/Master/bin/windows/a5bookle.bat
===================================================================
--- trunk/Master/bin/windows/a5bookle.bat	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Master/bin/windows/a5bookle.bat	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,48 +0,0 @@
- at echo off
-REM Given a DVI file, this command file carries out some of the steps
-REM needed to produce an A5 booklet suitable for folding and stapling.
-REM It is assumed the user has set up a page format suitable for A5 paper.
-REM The fancy pagination is done by Tom Rokicki's DVIDVI program.
-REM Note that 148mm = A5 width = half A4 height.
-REM
-REM We assume that the following symbols have been defined:
-REM a5booklet :== @disk$utils:[utilities.tex.dvidvi]a5booklet
-REM dvidvi    :== $disk$utils:[utilities.tex.dvidvi]dvidvi
-REM
-if not %1 == "" goto :file_given
-echo.
-echo.
-echo Usage:  a5booklet file[.dvi]
-echo.
-goto :exit
-
-:file_given
-dvidvi -m 4:-1,2(148mm,0mm) %1 part1
-dvidvi -m 4:-3,0(148mm,0mm) %1 part2
-REM
-REM Now explain how to preview or PSPRINT the new DVI files.
-REM
-echo.
-echo.
-echo PART1.DVI and PART2.DVI have been created; each part contains the pages that
-echo must be printed on the same side of the paper.  In both parts, each A4 page
-echo contains two side-by-side A5 pages from your original document.
-echo.
-echo To preview these DVI files you need to tell DVISCR to display each page
-echo in a landscaped orientation; for example:
-echo.
-echo      $ dviscr part1
-echo.
-echo To create an A5 booklet suitable for folding and stapling, carry out the
-echo following steps (assuming you are using a LaserWriter):
-echo. 
-echo   1. $ psprint /land /nobanner /notify part1
-echo   2. When this job has finished, take the output and put it back into
-echo      the input cassette without changing the orientation in any way.
-echo   3. $ psprint /land part2
-echo   4. Depending on the number of pages, the final output may not be collated.
-echo      You may need to change the placement of the bottom sheet(s).
-echo.
-echo.
-
-:exit

Deleted: trunk/Master/bin/windows/a5bookle.exe
===================================================================
(Binary files differ)

Deleted: trunk/Master/bin/windows/doubside.bat
===================================================================
--- trunk/Master/bin/windows/doubside.bat	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Master/bin/windows/doubside.bat	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,33 +0,0 @@
- at echo off
-REM Given a DVI file, this command file carries out the steps
-REM needed to print a dvi file in double side.
-REM The fancy pagination is done by Tom Rokicki's DVIDVI program.
-REM
-if not "%1" == "" goto :file_given
-echo.
-echo Usage:  doubside file[.dvi]
-echo.
-goto :exit
-:file_given
-dvidvi -m2:-1 %1 part1
-echo.
-dvidvi -m2:0  %1 part2
-REM
-REM Now explain how to preview or PSPRINT the new DVI files.
-REM
-echo.
-echo.
-echo PART1.DVI and PART2.DVI have been created; each part contains the pages that
-echo must be printed on the same side of the paper.
-echo To print double sided documents, carry out the
-echo following steps (assuming you are using a LaserWriter):
-echo.
-echo     1. $ psprint part1
-echo     2. When this job has finished, take the output and put it back into
-echo        the input cassette without changing the orientation in any way.
-echo     3. $ psprint part2
-echo     4. Depending on the number of pages, the final output may not be collated.
-echo        You may need to change the placement of the bottom sheet(s).
-echo.
-
-:exit

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Master/install-tl	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,10 +1,12 @@
 #!/usr/bin/env perl
 # $Id$
-# Copyright 2007-2022
+# Copyright 2007-2023
 # Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
 # This file is licensed under the GNU General Public License version 2
 # or any later version.
 #
+# TeX Live standalone installer.
+#
 # Be careful when changing wording: *every* normal informational message
 # output here must be recognized by the long grep in tl-update-tlnet.
 

Deleted: trunk/Master/texmf-dist/scripts/context/stubs/mswin/mptopdf.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2023-02-21 01:10:23 UTC (rev 65997)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2023-02-21 01:33:24 UTC (rev 65998)
@@ -1,9 +1,10 @@
 #!/usr/bin/env perl
 # $Id$
-#
 # Copyright 2008-2023 Norbert Preining
 # This file is licensed under the GNU General Public License version 2
 # or any later version.
+# 
+# TeX Live Manager.
 
 use strict; use warnings;
 
@@ -895,7 +896,7 @@
     if (defined($localtlpdb->get_package('context'))
 	    && (-x "$bindir/texlua" || -x "$bindir/texlua.exe")) {
       $errors += do_cmd_and_check("mtxrun --generate");
-      $errors += run_postinst_cmd("context --luatex --generate");
+      $errors += do_cmd_and_check("context --luatex --generate");
     }
     $::files_changed = 0;
   }



More information about the tex-live-commits mailing list.