diff options
author | Norbert Preining <preining@logic.at> | 2009-02-11 02:30:09 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-02-11 02:30:09 +0000 |
commit | eee26d6dea780b094443f563157e5a83fd88cf38 (patch) | |
tree | 0b0d138dcf11367534a3d669325fe2a5177c1c90 | |
parent | 5efb81973a24750486a68359a6b8445bad627f3b (diff) |
small but important fix for tlmgr to not re-initialize the $location
setting when reloading the locatl tlpdb
git-svn-id: svn://tug.org/texlive/trunk@12139 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 6132a43c2e5..d50a0b5318b 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -2492,6 +2492,10 @@ sub check_collections { # sub init_local_db { my ($should_i_die) = @_; + # if the localtlpdb is already defined do simply return here already + # to make sure that the settings in the local tlpdb do not overwrite + # stuff changed via the GUI + return if defined $localtlpdb; $localtlpdb = TeXLive::TLPDB->new ("root" => $Master); die("cannot find tlpdb in $Master") unless (defined($localtlpdb)); # setup the programs, for w32 we need the shipped wget/lzma etc, so we |