diff options
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, ""); |