From cd9ea7c07e135acaaf34015219ee0777aa78630c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 21 Mar 2013 19:11:59 +0000 Subject: pinning doc and msg tweaks git-svn-id: svn://tug.org/texlive/trunk@29458 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 85 ++++++++++++++--------------------- 1 file changed, 33 insertions(+), 52 deletions(-) (limited to 'Master/texmf') diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index afa73537ef8..2b4131e3d7a 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1184,7 +1184,7 @@ sub action_info { } if (defined($tag)) { if (!$remotetlpdb->is_virtual) { - tlwarn("tlmgr: specifying implicite tags is not allowed for non-virtual databases!\n"); + tlwarn("tlmgr: specifying implicit tags is not allowed for non-virtual databases!\n"); next; } else { if (!$remotetlpdb->is_repository($tag)) { @@ -3259,7 +3259,7 @@ END_DISK_WARN # not (that is the --reinstall) # # TLPDB->install_package does ONLY INSTALL ONE PACKAGE, no deps whatsoever -# anymore! That has all to be done by hand. +# anymore! That has all to be done by the caller. # sub action_install { init_local_db(1); @@ -3529,7 +3529,7 @@ sub action_pinning { print " ", $p->{'repo'}, ":", $p->{'glob'}, "\n"; } } elsif ($what =~ m/^check$/i) { - tlwarn("Not implemented by now, sorry!\n"); + tlwarn("Not implemented yet, sorry!\n"); return 0; } elsif ($what =~ m/^add$/i) { # we need at least two more arguments @@ -3670,7 +3670,7 @@ sub action_repository { } my ($tlpdb, $errormsg) = setup_one_remotetlpdb($loc); if (!defined($tlpdb)) { - tlwarn("cannot locate get TLPDB from $loc\n\n"); + tlwarn("cannot get TLPDB from location $loc\n\n"); } else { print "Packages at $loc:\n"; my %pkgs = merge_sub_packages($tlpdb->list_packages); @@ -6474,30 +6474,27 @@ is issued that the caller does not have enough privileges. =head2 pinning -The pinning action manages the pinning file, see L for details. +The C action manages the pinning file, see L below. =over 4 -=item B +=item C Shows the current pinning data. -=item B +=item C I... -Not implemented at the moment. +Pins the packages matching the I(s) to the repository +I. -=item B I [I]> +=item C I... -Pins the packages specified by I to the repo I. +Any packages recorded in the pinning file matching the s for +the given repository I are removed. -=item B I [I]> +=item C --all> -If there is a the very package glob recorded in the pinning file -for the given repo I, it is removed. - -=item B --all> - -Remove all pinning data for repo I. +Remove all pinning data for repository I. =back @@ -7026,20 +7023,19 @@ Examples: =head1 MULTIPLE REPOSITORIES -The main TeX Live repository includes a vast array of packages. +The main TeX Live repository contains a vast array of packages. Nevertheless, additional local repositories can be useful to provide locally-installed resources, such as proprietary fonts and house styles. Also, alternative package repositories distribute packages that cannot -or should not be included in TeX Live, due to being under rapid -development or for other reasons. +or should not be included in TeX Live, for whatever reason. -The simplest and most reliable method is simply to temporarily set the -installation source to any repository (with the C<-repository> command -line option or C