texlive[50190] Master/tlpkg/TeXLive: remove --rm from lz4 call,

commits+preining at tug.org commits+preining at tug.org
Sat Mar 2 00:32:44 CET 2019


Revision: 50190
          http://tug.org/svn/texlive?view=revision&revision=50190
Author:   preining
Date:     2019-03-02 00:32:44 +0100 (Sat, 02 Mar 2019)
Log Message:
-----------
remove --rm from lz4 call, manually remove tar container

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLConfig.pm
    trunk/Master/tlpkg/TeXLive/TLPOBJ.pm

Modified: trunk/Master/tlpkg/TeXLive/TLConfig.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfig.pm	2019-03-01 23:27:15 UTC (rev 50189)
+++ trunk/Master/tlpkg/TeXLive/TLConfig.pm	2019-03-01 23:32:44 UTC (rev 50190)
@@ -127,7 +127,7 @@
 our %Compressors = (
   "lz4" => {
     "decompress_args" => ["-dcf"],
-    "compress_args"   => ["-zfmq", "--rm"],
+    "compress_args"   => ["-zfmq"],
     "extension"       => "lz4",
     "priority"        => 10,
   },

Modified: trunk/Master/tlpkg/TeXLive/TLPOBJ.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPOBJ.pm	2019-03-01 23:27:15 UTC (rev 50189)
+++ trunk/Master/tlpkg/TeXLive/TLPOBJ.pm	2019-03-01 23:32:44 UTC (rev 50190)
@@ -736,6 +736,9 @@
         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, "");



More information about the tex-live-commits mailing list