From 7b2eadfec60ec5bc7ad35b7d0f42244791b56359 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 1 Jun 2010 05:40:45 +0000 Subject: - 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 --- Master/tlpkg/TeXLive/TLConfig.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg') 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", -- cgit v1.2.3