summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-11 03:02:16 +0000
committerNorbert Preining <norbert@preining.info>2022-06-11 03:02:16 +0000
commit040c2af2b17f76a6f7e97a17ddbe0eee645508d4 (patch)
tree846f67bc2608b3051bfe8217d2fa9bc805dfd895 /systems/texlive/tlnet/install-tl
parentfb4909f4112d8b778570cf1c2e25ca18c63bc1ca (diff)
CTAN sync 202206110302
Diffstat (limited to 'systems/texlive/tlnet/install-tl')
-rwxr-xr-xsystems/texlive/tlnet/install-tl9
1 files changed, 5 insertions, 4 deletions
diff --git a/systems/texlive/tlnet/install-tl b/systems/texlive/tlnet/install-tl
index 3c004e96a3..1ac6128244 100755
--- a/systems/texlive/tlnet/install-tl
+++ b/systems/texlive/tlnet/install-tl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: install-tl 63068 2022-04-18 05:58:07Z preining $
+# $Id: install-tl 63541 2022-06-10 22:07:44Z karl $
# Copyright 2007-2022
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
@@ -10,7 +10,7 @@
use strict; use warnings;
-my $svnrev = '$Revision: 63068 $';
+my $svnrev = '$Revision: 63541 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');
@@ -1408,7 +1408,8 @@ sub do_texmf_cnf {
# by default TEXMFLOCAL = TEXDIR/../texmf-local, if this is the case
# we don't have to write a new setting.
my $deftmflocal = Cwd::abs_path($vars{'TEXDIR'}.'/../texmf-local');
- if (Cwd::abs_path($vars{TEXMFLOCAL}) ne "$deftmflocal") {
+ if (!defined $deftmflocal # in case abs_path couldn't resolve
+ || Cwd::abs_path($vars{TEXMFLOCAL}) ne "$deftmflocal") {
push @changedtmf, "TEXMFLOCAL = $vars{'TEXMFLOCAL'}\n";
}
} elsif ($line =~ m/^TEXMFSYSVAR/) {
@@ -3201,7 +3202,7 @@ This script and its documentation were written for the TeX Live
distribution (L<https://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
-$Id: install-tl 63068 2022-04-18 05:58:07Z preining $
+$Id: install-tl 63541 2022-06-10 22:07:44Z karl $
=cut
# to remake HTML version: pod2html --cachedir=/tmp install-tl >/tmp/itl.html