summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-06-21 12:47:34 +0000
committerNorbert Preining <preining@logic.at>2016-06-21 12:47:34 +0000
commit4db63e6af3cfba060d6736542b3d5e9d69650280 (patch)
tree909c1a5afe09842111d9fd9b0acff07b5493daa9 /Master/tlpkg/bin
parentc468712cf9f01ab63bc46a8fab3de7e6a87b4735 (diff)
tl-update-containers: add option --no-sign
git-svn-id: svn://tug.org/texlive/trunk@41512 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers14
1 files 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<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