diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TLConfig.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLConfig.pm | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 80ba9acf0c8..2b980b2034a 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -7,15 +7,8 @@ package TeXLive::TLConfig; my $svnrev = '$Revision$'; -my $_modulerevision; -if ($svnrev =~ m/: ([0-9]+) /) { - $_modulerevision = $1; -} else { - $_modulerevision = "unknown"; -} -sub module_revision { - return $_modulerevision; -} +my $_modulerevision = ($svnrev =~ m/: ([0-9]+) /) ? $1 : "unknown"; +sub module_revision { return $_modulerevision; } BEGIN { use Exporter (); @@ -218,7 +211,7 @@ our $F_NOPOSTACTION = 4; # The length of a checksum generated by tlchecksum and contained in # texlive.tlpdb.checksum. Needs to be in agreement with the hash -# method used in TLUtils::tlchecksum and TLUtils::tldigest +# method used in TLCrypto::tlchecksum and TLCrypto::tldigest $ChecksumLength = 128; # The program generating the checksum for the file given as first @@ -315,8 +308,9 @@ relocated, defaults to C<RELOC>". =head1 SEE ALSO -The modules L<TeXLive::TLUtils>, L<TeXLive::TLPSRC>, -L<TeXLive::TLPDB>, L<TeXLive::TLTREE>, L<TeXLive::TeXCatalogue>. +All the other TeX Live modules and scripts, especially C<tlmgr> and +C<install-tl>, and the documentation in the repository: +C<Master/tlpkg/doc/>. =head1 AUTHORS AND COPYRIGHT |