diff options
author | Norbert Preining <preining@logic.at> | 2019-03-01 23:32:44 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2019-03-01 23:32:44 +0000 |
commit | d33b3d03c47c7bb0645651513f4a7050e86ae69f (patch) | |
tree | 04db190d37fd2e4216007c267bbd31563106b7ed /Master/tlpkg/TeXLive | |
parent | d5fb0c29224f3dab31a57ede3db1aff1ec646bfb (diff) |
remove --rm from lz4 call, manually remove tar container
git-svn-id: svn://tug.org/texlive/trunk@50190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLConfig.pm | 2 | ||||
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 269aed464ae..4059283b82c 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -127,7 +127,7 @@ our $DefaultCompressorFormat = "xz"; our %Compressors = ( "lz4" => { "decompress_args" => ["-dcf"], - "compress_args" => ["-zfmq", "--rm"], + "compress_args" => ["-zfmq"], "extension" => "lz4", "priority" => 10, }, diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index fee7b630025..773f10f864e 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -736,6 +736,9 @@ sub make_container { tlwarn("$0: Couldn't compress $destdir/$tarname\n"); return (0,0, ""); } + # make sure we remove the original tar since lc does not + # automatically remove it + unlink("$destdir/$tarname") if (-r "$destdir/$tarname"); } else { tlwarn("$0: Couldn't find $destdir/$tarname to run $compressor\n"); return (0, 0, ""); |