summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-05-07 20:07:36 +0000
committerNorbert Preining <preining@logic.at>2008-05-07 20:07:36 +0000
commit7d1215fe8376e0f557f904bbca99b7a0593bf322 (patch)
tree8ccefbdbdac29736c2fc755426bf3db59270c9bc /Master/install-tl
parent6c95c06831d20d624e2ce2fad95ef3957f15d1bb (diff)
add some warning if TEXMFCNF is set
git-svn-id: svn://tug.org/texlive/trunk@7917 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index be9942ca293..6c7f51993af 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -814,6 +814,12 @@ sub do_postinst_stuff {
my @TMFVARS1=qw(TEXMFMAIN TEXMFDIST TEXMFLOCAL TEXMFSYSVAR TEXMFSYSCONFIG
TEXMFHOME TEXMFVAR TEXMFCONFIG);
+ if (defined($ENV{'TEXMFCNF'})) {
+ print "WARNING: environment variable TEXMFCNF is set.
+You should know what you are doing.
+We will remove that for the post install actions, but all further
+operations might be disturbed.\n\n";
+ }
foreach my $tmv (@TMFVARS0) {
delete $ENV{$tmv} if (defined($ENV{$tmv}));
}