summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 8c8d955355c..0b026d4af2e 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -1267,11 +1267,15 @@ operations might be disturbed.\n\n";
tlwarn("$0: TEXLIVE_INSTALL_PAPER value must be letter or a4, not: "
. "$env_paper (ignoring)\n");
}
- } elsif ($opt_paper) {
+ }
+ if ($opt_paper) {
+ if (defined $env_paper) {
+ tlwarn("$0: paper selection via env var TEXLIVE_INSTALL_PAPER and cmdline arg --paper, preferring the later!\n");
+ }
if ($opt_paper eq "letter") {
$vars{'instopt_letter'} = 1;
} elsif ($opt_paper eq "a4") {
- ; # do nothing
+ $vars{'instopt_letter'} = 0;
} else {
tlwarn("$0: cmd line option --paper value must be letter or a4, not: "
. "$opt_paper (ignoring)\n");