summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-containers
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tl-update-containers')
-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