texlive[41512] Master/tlpkg/bin/tl-update-containers:

commits+preining at tug.org commits+preining at tug.org
Tue Jun 21 14:47:34 CEST 2016


Revision: 41512
          http://tug.org/svn/texlive?view=revision&revision=41512
Author:   preining
Date:     2016-06-21 14:47:34 +0200 (Tue, 21 Jun 2016)
Log Message:
-----------
tl-update-containers: add option --no-sign

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tl-update-containers

Modified: trunk/Master/tlpkg/bin/tl-update-containers
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-containers	2016-06-21 12:42:14 UTC (rev 41511)
+++ trunk/Master/tlpkg/bin/tl-update-containers	2016-06-21 12:47:34 UTC (rev 41512)
@@ -39,6 +39,7 @@
 my $opt_relative = 1;
 my $opt_version = 0;
 my $opt_help = 0;
+my $opt_nosign = 0;
 
 TeXLive::TLUtils::process_logging_options();
 GetOptions(
@@ -48,6 +49,7 @@
   "location=s"  => \$opt_location, 
   "master=s"    => \$opt_master,
   "no-setup"    => \$opt_nosetup,
+  "no-sign"     => \$opt_nosign,
   "recreate"    => \$opt_recreate,
   "relative!"   => \$opt_relative,
   "version"	=> \$opt_version,
@@ -403,9 +405,11 @@
     xsystem("$TeXLive::TLConfig::ChecksumProgram texlive.tlpdb > texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension");
     # remove signature, otherwise gpg breaks
     xsystem("rm -f texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension.asc");
-    # the following somehow needs to be on one line, otherwise the shell
-    # expansion is strange!
-    xsystem("$opt_gpgcmd texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension");
+    if (!$opt_nosign) {
+      # the following somehow needs to be on one line, otherwise the shell
+      # expansion is strange!
+      xsystem("$opt_gpgcmd texlive.tlpdb.$TeXLive::TLConfig::ChecksumExtension");
+    }
     xchdir($olddir);
   } else {
     tlwarn("chdir($opt_location/tlpkg/) for md5/checksum creation failed\n: $?");
@@ -467,6 +471,10 @@
 Do not try to use the TL version of our basic programs such as I<xz>
 and I<tar>, but instead looks for them in the current path.
 
+=item B<-no-sign>
+
+Do not try to sign the resulting TeX Live tlpdb.
+
 =item B<-recreate>
 
 Forces rebuild of all containers, including creation of the output



More information about the tex-live-commits mailing list