From 4db63e6af3cfba060d6736542b3d5e9d69650280 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 21 Jun 2016 12:47:34 +0000 Subject: tl-update-containers: add option --no-sign git-svn-id: svn://tug.org/texlive/trunk@41512 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-containers | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers index 0bab6ba2d17..18396811f20 100755 --- a/Master/tlpkg/bin/tl-update-containers +++ b/Master/tlpkg/bin/tl-update-containers @@ -39,6 +39,7 @@ my $opt_recreate = 0; 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 @@ GetOptions( "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 @@ sub main { 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 create any relocatable packages. Do not try to use the TL version of our basic programs such as I and I, 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 -- cgit v1.2.3