summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-11 23:09:43 +0000
committerKarl Berry <karl@freefriends.org>2019-12-11 23:09:43 +0000
commitddb7e4fedf257946fe9ff464849ddd8a9c30854c (patch)
tree47278ccd5ce227649755321ae0026637bdab254e /Master/tlpkg
parent78e912c354fd91abbfb6fe9ba6f869449dab2391 (diff)
doc,sync
git-svn-id: svn://tug.org/texlive/trunk@53100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/archive/tl-dump-texcatalogue37
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers2
2 files changed, 38 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/archive/tl-dump-texcatalogue b/Master/tlpkg/bin/archive/tl-dump-texcatalogue
new file mode 100755
index 00000000000..87689c780fe
--- /dev/null
+++ b/Master/tlpkg/bin/archive/tl-dump-texcatalogue
@@ -0,0 +1,37 @@
+#!/usr/bin/env perl
+# $Id: tl-dump-texcatalogue 26533 2012-05-21 04:22:56Z preining $
+# Copyright 2012 Norbert Preining
+# This file is licensed under the GNU General Public License version 2
+# or any later version.
+#
+# Write a parsable representation of the catalogue to stdout
+# run from cron.tl
+
+BEGIN {
+ $^W = 1;
+ chomp ($mydir = `dirname $0`);
+ unshift (@INC, "$mydir/..");
+}
+
+use strict;
+$^W = 1;
+use Data::Dumper;
+use TeXLive::TeXCatalogue;
+
+exit (&main ());
+
+sub main {
+ if (@ARGV != 1) {
+ die "Usage: $0 /PATH/TO/CATALOGUE\n";
+ }
+
+ my $texcatalogue = TeXLive::TeXCatalogue->new(location => $ARGV[0]);
+
+ $Data::Dumper::Indent = 1;
+ $Data::Dumper::Sortkeys = 1; # stable output
+ $Data::Dumper::Purity = 1; # recursive structures must be safe
+ print Data::Dumper->Dump([\$texcatalogue], [qw(tlc)]);
+
+ return 0;
+}
+
diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers
index dee164e32fb..1c50b03cc95 100755
--- a/Master/tlpkg/bin/tl-update-containers
+++ b/Master/tlpkg/bin/tl-update-containers
@@ -562,7 +562,7 @@ Forces rebuild of all containers, including creation of the output
C<texlive.tlpdb> if need be.
We used to recreate all containers for the release each year. Starting
-with TL20, we longer do this, since it causes files with the same name
+with TL20, we no longer do this, since it causes files with the same name
(foo.tar.xz) to change contents, either just compression options, etc.,
or because the Catalogue values changed. We did not normally push out
Catalogue-only changes to tlnet during the year since they frequently