summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-05-08 13:24:09 +0000
committerNorbert Preining <preining@logic.at>2008-05-08 13:24:09 +0000
commit9a180498bb6fa5da4c6a89525815ea5939cf0842 (patch)
tree4583ccbb7e0d67138219e489ea074e332974ff95 /Master/install-tl
parenta10711ec4f3a0ce10ece61a929101038b83e19f2 (diff)
die if we cannot load the tlpdb
git-svn-id: svn://tug.org/texlive/trunk@7937 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 6c7f51993af..73f93e834db 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -630,6 +630,9 @@ sub load_tlpdb {
}
tllog($::LOG_NORMAL, "Loading $master/$TeXLive::TLConfig::InfraLocation/$TeXLive::TLConfig::DatabaseName ...\n");
$tlpdb=TeXLive::TLPDB->new(root => "$master");
+ if (!defined($tlpdb)) {
+ die("Cannot load TeX Live Database from $master");
+ }
}
sub initialize_collections {