summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpsrc2tlpdb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tlpsrc2tlpdb b/Master/tlpkg/bin/tlpsrc2tlpdb
index a496ad7183f..2cabe4e1862 100755
--- a/Master/tlpkg/bin/tlpsrc2tlpdb
+++ b/Master/tlpkg/bin/tlpsrc2tlpdb
@@ -19,7 +19,6 @@ use TeXLive::TLPSRC;
use TeXLive::TLPOBJ;
use TeXLive::TLPDB;
use TeXLive::TLTREE;
-use TeXLive::TeXCatalogue;
use Getopt::Long;
use Pod::Usage;
use File::Path;
@@ -46,8 +45,9 @@ if (! -d "$opt_master") {
my $tlc;
if (! -d "$opt_catalogue") {
- warn "Catalogue not found, we will continue without using it!";
+ warn "$0: -d /Cat/a/logue not given, we will continue without it.\n";
} else {
+ require "TeXLive::TeXCatalogue"; # not at compile time, for now anyway.
$tlc = TeXLive::TeXCatalogue->new( 'location' => "$opt_catalogue" );
}