From d33b3d03c47c7bb0645651513f4a7050e86ae69f Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 1 Mar 2019 23:32:44 +0000 Subject: remove --rm from lz4 call, manually remove tar container git-svn-id: svn://tug.org/texlive/trunk@50190 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLConfig.pm | 2 +- Master/tlpkg/TeXLive/TLPOBJ.pm | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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, ""); -- cgit v1.2.3