summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2017-04-16 02:13:01 +0000
committerNorbert Preining <preining@logic.at>2017-04-16 02:13:01 +0000
commite5850974f8685e99c3164638a17bea64b18deade (patch)
treec0783e4ab8a4baa7c015ad01b80ca08695c7013d /Master/install-tl
parent80b170661b7b5abc3ea0f8264c965faac6374a7d (diff)
rename option_adjustrepo to adjustrepo only
the option_ prefix is reserved for those values that can also be set in the tlpdb, but not for purely install-tl options. Fix that. git-svn-id: svn://tug.org/texlive/trunk@43822 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl4
1 files changed, 1 insertions, 3 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 67355db087f..02fdb6fab59 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -135,7 +135,6 @@ our @collections_std;
# 'option_src' => 1,
# 'option_fmt' => 0,
# 'option_letter' => 0,
-# 'option_adjustrepo' => 1,
our %vars=( # 'n_' means 'number of'.
'this_platform' => '',
'n_systems_available' => 0,
@@ -1638,7 +1637,6 @@ END_EXPLICIT_MIRROR
$vars{'option_sys_bin'} = $tlpdb->option("sys_bin");
$vars{'option_sys_man'} = $tlpdb->option("sys_man");
$vars{'option_sys_info'} = $tlpdb->option("sys_info");
- $vars{'option_adjustrepo'} = $tlpdb->option("adjustrepo");
$vars{'option_write18_restricted'} = $tlpdb->option("write18_restricted");
# this option is not stored in tlpdb if an existing installation is used
$vars{'option_write18_restricted'} ||= 1;
@@ -1868,7 +1866,7 @@ sub save_options_into_tlpdb {
# if we are told to adjust the repository *and* we are *not*
# installing from the network already, we adjust the repository
# to the default mirror.ctan.org
- if ($vars{'option_adjustrepo'} && ($media ne 'NET')) {
+ if ($vars{'adjustrepo'} && ($media ne 'NET')) {
$localtlpdb->option ("location", $TeXLiveURL);
} else {
my $final_loc = ($media eq 'NET' ? $location : abs_path($location));