summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-04-30 11:03:21 +0000
committerNorbert Preining <preining@logic.at>2009-04-30 11:03:21 +0000
commit7fb15e92d2c842a6cf8582349525318bb773c87e (patch)
tree256819db1882935f14690c6e2706e1fc089ebabf /Master
parentc9eb18cf399fc9a33f18d8ed4bf61b878237394f (diff)
support
tlmgr print-arch git-svn-id: svn://tug.org/texlive/trunk@12887 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 8f108b82488..0d52aab61d6 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -194,6 +194,12 @@ if (defined($action) && ($action =~ m/^help/i)) {
$opts{"help"} = 1;
}
+if (defined($action) && ($action =~ m/^print-arch$/i)) {
+ $::installerdir = $Master;
+ print TeXLive::TLUtils::platform(), "\n";
+ exit 0;
+}
+
if ((!defined($action) || !$action) && !$opts{"help"}) {
die "$0: missing action; try --help if you need it.\n";
}
@@ -3337,6 +3343,10 @@ The respective locations are as follows:
web2c/fmtutil.cnf (and fmtutil-local.cnf);
web2c/updmap.cfg (and updmap-local.cfg).
+=head2 print-arch
+
+Prints out the currently detected architecture.
+
=head1 MACHINE-READABLE OUTPUT