summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-07 03:00:49 +0000
committerNorbert Preining <norbert@preining.info>2019-12-07 03:00:49 +0000
commitf158c892f4714e2dfef87c5edf8cd679fd09bb2b (patch)
treef8cae0221bb28490d61fc9a531ac4d087186e273 /systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm
parentac57c892e88b77eb217641d4a1059da681320633 (diff)
CTAN sync 201912070300
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm')
-rw-r--r--systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm17
1 files changed, 15 insertions, 2 deletions
diff --git a/systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm b/systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm
index b245c6845d..8330862b09 100644
--- a/systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm
+++ b/systems/texlive/tlnet/tlpkg/TeXLive/TLConfig.pm
@@ -1,4 +1,4 @@
-# $Id: TLConfig.pm 52745 2019-11-12 18:18:40Z karl $
+# $Id: TLConfig.pm 53037 2019-12-05 23:53:35Z karl $
# TeXLive::TLConfig.pm - module exporting configuration values
# Copyright 2007-2019 Norbert Preining
# This file is licensed under the GNU General Public License version 2
@@ -6,7 +6,7 @@
package TeXLive::TLConfig;
-my $svnrev = '$Revision: 52745 $';
+my $svnrev = '$Revision: 53037 $';
my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown";
sub module_revision { return $_modulerevision; }
@@ -30,6 +30,7 @@ BEGIN {
%Compressors
$InfraLocation
$DatabaseName
+ $DatabaseLocation
$PackageBackupDir
$BlockSize
$Archive
@@ -82,10 +83,12 @@ our $DefaultCategory = "Package";
# relative to a root (e.g., the Master/, or the installation path)
our $InfraLocation = "tlpkg";
our $DatabaseName = "texlive.tlpdb";
+our $DatabaseLocation = "$InfraLocation/$DatabaseName";
# location of backups in default autobackup setting (under tlpkg)
our $PackageBackupDir = "$InfraLocation/backups";
+# for computing disk usage; this is most common.
our $BlockSize = 4096;
# timeout for network connections (wget, LWP) in seconds
@@ -312,6 +315,16 @@ The subdirectory with various infrastructure files (C<texlive.tlpdb>,
tlpobj files, ...) relative to the root of the installation; currently
C<tlpkg>.
+=item C<$TeXLive::TLConfig::DatabaseName>
+
+The name of our so-called database file: C<texlive.tlpdb>. It's just a
+plain text file, not any kind of relational or other database.
+
+=item C<$TeXLive::TLConfig::DatabaseLocation>
+
+Concatenation of C<InfraLocation> "/" C<DatabaseName>, i.e.,
+C<tlpkg/texlive.tlpdb>.
+
=item C<$TeXLive::TLConfig::BlockSize>
The assumed block size, currently 4k.