summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/c2l
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-11 20:44:12 +0000
committerKarl Berry <karl@freefriends.org>2024-04-11 20:44:12 +0000
commit6c6850f17110785ca444212a06be8e0de2d7d384 (patch)
treefacd31959d08a76ffa47eab04b83c96deff2ad44 /Master/tlpkg/bin/c2l
parent043597b8e6510607c5bd0201cced37435dce7735 (diff)
install-tl: restore period.
c2l: recognize aarmgh for aarch and armhf from github. tl-update-bindir: likewise. tl-update-auto: recognize -v option. tl-update-containers: special temp debugging for texlive-scripts. git-svn-id: svn://tug.org/texlive/trunk@70922 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/c2l')
-rwxr-xr-xMaster/tlpkg/bin/c2l14
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/c2l b/Master/tlpkg/bin/c2l
index 123e2fda182..41eba37d1b6 100755
--- a/Master/tlpkg/bin/c2l
+++ b/Master/tlpkg/bin/c2l
@@ -77,6 +77,14 @@ sub main {
print "$0: gh (github/norbert) update done.\n";
exit 0;
+ } elsif ($arg eq "aarmgh") {
+ # usually we get these from cg, but sometimes mojca doesn't build.
+ for my $p (qw(aarch64-linux-gh armhf-linux-gh)) {
+ system ("$0 $p") && die "aarm/$p failed";
+ }
+ print "$0: gh (aarm/norbert) update done.\n";
+ exit 0;
+
} elsif ($arg eq "cg" || $arg eq "moj" || $arg eq "mojca") {
for my $p (qw(aarch64-linux armhf-linux x86_64-darwinlegacy
)) {
@@ -97,7 +105,11 @@ sub main {
exec ("tl-update-bindir", $arg);
}
- if (-d "$TLROOT/Master/bin/$arg") { # platform name
+ # if known platform name, call tl-update-bindir.
+ # so far no clashes with normal packages.
+ (my $arg_no_gh = $arg) =~ s/-gh$//;
+ if (-d "$TLROOT/Master/bin/$arg" # platform name
+ || -d "$TLROOT/Master/bin/$arg_no_gh") { # maybe with -gh signal
print ("tl-update-bindir $arg\n");
exec ("tl-update-bindir", $arg);
}