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/TLPOBJ.pm | |
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/TLPOBJ.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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, ""); |