summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLConfig.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-06-01 05:40:45 +0000
committerNorbert Preining <preining@logic.at>2010-06-01 05:40:45 +0000
commit7b2eadfec60ec5bc7ad35b7d0f42244791b56359 (patch)
treee7110c90e6ff3d71a96a0c6d905d6442721e7918 /Master/tlpkg/TeXLive/TLConfig.pm
parentcea9e0f017b19d18bba9a89898fcc66c2a5fae97 (diff)
- create one spot where the default initial backup dir location is configured
$TeXLive::TLConfig::PackageBackupDir - create package backup directory in install-tl git-svn-id: svn://tug.org/texlive/trunk@18669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLConfig.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLConfig.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm
index 315c88d5517..02d9dbc75c2 100644
--- a/Master/tlpkg/TeXLive/TLConfig.pm
+++ b/Master/tlpkg/TeXLive/TLConfig.pm
@@ -33,6 +33,7 @@ BEGIN {
$DefaultContainerExtension
$InfraLocation
$DatabaseName
+ $PackageBackupDir
$BlockSize
$Archive
$TeXLiveServerURL
@@ -74,6 +75,9 @@ our $DefaultCategory = "Package";
our $InfraLocation = "tlpkg";
our $DatabaseName = "texlive.tlpdb";
+# location of backups in default autobackup setting
+our $PackageBackupDir = "$InfraLocation/package-backups";
+
our $BlockSize = 4096;
our $Archive = "archive";
@@ -129,7 +133,7 @@ our %TLPDBOptions = (
[ "n:-1..", 1, "autobackup",
"Number of backups to keep" ],
"backupdir" =>
- [ "p", "tlpkg/package-backups", "backupdir",
+ [ "p", $PackageBackupDir, "backupdir",
"Directory for backups" ],
"create_formats" =>
[ "b", 1, "formats",