summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-24 20:57:53 +0000
committerKarl Berry <karl@freefriends.org>2020-03-24 20:57:53 +0000
commiteee11661f01345c92b64fcc7023c096a15d44c53 (patch)
tree120c59098ee90707622c1456b8ab2c4e6de8eb20 /Master/tlpkg/bin
parent2788d9fb9b228a993b9396b91c9fcd4845635b64 (diff)
tl-update-tlnet: also set TEXMFVAR and TEXMFCACHE, used by luaotfload.
tl-update-tlpdb: report new and old cataloguedata. git-svn-id: svn://tug.org/texlive/trunk@54528 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlnet12
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlpdb7
2 files changed, 14 insertions, 5 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet
index 2f244d4f254..0cda45f2a17 100755
--- a/Master/tlpkg/bin/tl-update-tlnet
+++ b/Master/tlpkg/bin/tl-update-tlnet
@@ -156,13 +156,18 @@ tltryinst=$tltrybase/tlinst.try
zcat $tltry/install-tl-unx.tar.gz | tar -xf -
cd install-tl-* # subdir is YYYYMMDD
-# create TL install profile:
+
+# create TL install profile. We set TEXMFCACHE for the sake of
+# luaotfload-tool, although it should fall back to TEXMFVAR,
+# which is possibly used by nothing else.
echo "# texlive-profile from $0
selected_scheme scheme-$scheme
TEXDIR $tltryinst/$yyyy
+TEXMFLOCAL $tltryinst/texmf-local
TEXMFSYSCONFIG $tltryinst/$yyyy/texmf-config
TEXMFSYSVAR $tltryinst/$yyyy/texmf-var
-TEXMFLOCAL $tltryinst/texmf-local
+TEXMFVAR $tltryinst/$yyyy/texmf-uvar
+TEXMFCACHE $tltryinst/$yyyy/texmf-cache
TEXMFHOME ~/texmf
tlpdbopt_install_docfiles 1
tlpdbopt_install_srcfiles 1
@@ -177,7 +182,8 @@ TEXLIVE_INSTALL_ENV_NOCHECK=1; export TEXLIVE_INSTALL_ENV_NOCHECK
TEXLIVE_INSTALL_NO_WELCOME=1; export TEXLIVE_INSTALL_NO_WELCOME
# Minimal PATH from here on! E.g., we don't want the test install to
-# find our own mktexlsr, but only have the programs in the test available.
+# find its own mktexlsr, but only have the programs in the test
+# environment available.
PATH=/usr/bin
tlnet_install_log=`pwd`/update-tlnet-install.log
diff --git a/Master/tlpkg/bin/tl-update-tlpdb b/Master/tlpkg/bin/tl-update-tlpdb
index 3a7e00b1e29..cc579960975 100755
--- a/Master/tlpkg/bin/tl-update-tlpdb
+++ b/Master/tlpkg/bin/tl-update-tlpdb
@@ -573,7 +573,7 @@ sub tlpobj_catalogue_equal {
my $ret = 0;
my $pkg = $tlpA->name; # just for debugging output
- debug("$pkg: comparing catalogue info:\n");
+ ddebug("$pkg: comparing catalogue info:\n");
# The shortdesc and longdesc usually come from the Catalogue,
# but sometimes are in the tlpsrc.
@@ -593,7 +593,10 @@ sub tlpobj_catalogue_equal {
debug("$pkg: catalogue value changed\n");
} elsif (! &equal_hashes($tlpA->cataloguedata, $tlpB->cataloguedata)) {
- debug("$pkg: cataloguedata changed\n");
+ debug("$pkg: ", debug_hash_str("cataloguedata now", $tlpA->cataloguedata),
+ " " x (length($pkg) + 7),
+ debug_hash_str("vs. compare db", $tlpB->cataloguedata));
+
} elsif (! &equal_hashes($tlpA->docfiledata, $tlpB->docfiledata)) {
debug("$pkg: docfiledata changed\n");