diff options
author | Norbert Preining <preining@logic.at> | 2018-05-18 23:46:06 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2018-05-18 23:46:06 +0000 |
commit | af61d4d340b46609b9d88deb0d64cbdefcf4882f (patch) | |
tree | ff6a61db8794740a601cfd510e6f837937f2ab9c /Master/tlpkg/TeXLive/TLConfig.pm | |
parent | c0c3a120c5f2557f063fd2be039693cdbeaa3515 (diff) |
work on supporting lz4 and possibly other codices
git-svn-id: svn://tug.org/texlive/trunk@47754 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLConfig.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLConfig.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 39c547bc998..71e50e946e7 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -24,6 +24,10 @@ BEGIN { $DefaultCategory $DefaultContainerFormat $DefaultContainerExtension + $AcceptedCompressors + $AcceptedCompressorsRegexp + %CompressorProgram + %CompressorArgs $InfraLocation $DatabaseName $PackageBackupDir @@ -106,6 +110,10 @@ if ($^O =~ /^MSWin/i) { # the way we package things on the web our $DefaultContainerFormat = "xz"; our $DefaultContainerExtension = "tar.$DefaultContainerFormat"; +our @AcceptedCompressors = qw/xz lz4/; +our $AcceptedCompressorsRegexp = "(xz|lz4)"; +our %CompressorProgram = ( 'xz' => 'xzdec', 'lz4' => 'lz4' ); +our %CompressorArgs = ( 'xz' => '', 'lz4' => '-dcf'); # archive (not user) settings. # these can be overridden by putting them into 00texlive.config.tlpsrc |