summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-29 15:26:07 +0000
committerNorbert Preining <preining@logic.at>2010-05-29 15:26:07 +0000
commit1bb79ba0c1c8f81b76e71abe432f9163c84d41d8 (patch)
tree811730298878c6265e2f44c6b8dbedc8d6235165
parent143e3778da1f60ddcf5fb0c5fc309fbe7b645d1a (diff)
"tlmgr conf texmf ..." lists default values if found
git-svn-id: svn://tug.org/texlive/trunk@18583 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index ec5f40c9888..3204c42d9d1 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -4097,6 +4097,15 @@ sub action_conf {
info("$arg config setting $key = " . $cf->value($key) . "\n");
} else {
info("$key not defined in $arg config file\n");
+ if ($arg eq "texmf") {
+ # for the case of texmf.cnf we check the default value
+ chomp (my $defval = `kpsewhich -var-value $key`);
+ if (defined($defval)) {
+ info("Default value for $key is $defval\n");
+ } else {
+ info("No default value for $key is known.\n");
+ }
+ }
}
} else {
$cf->value($key, $val);