diff options
author | Norbert Preining <preining@logic.at> | 2009-07-09 15:03:16 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-07-09 15:03:16 +0000 |
commit | f50c2cf51ca9a317b795a745e2dc6ddcc4d8d02e (patch) | |
tree | 25ad4fb72cb5c13ee5c5795d2cc9ba6dff3290dc /Master | |
parent | f2e639c95860da3845063aa4f2c6135682f4ec2a (diff) |
fix for missing -all, and more documentation for postaction
git-svn-id: svn://tug.org/texlive/trunk@14209 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 7dd70145857..934a1bec6c4 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -139,6 +139,7 @@ my %actionoptions = ( "generate" => { "localcfg" => "=s", "dest" => "=s" }, "postaction" => {"w32mode" => "=s", + "all" => 1, "fileassocmode" => "=i" }, "uninstall"=> { "force" => 1 }, "check" => { "use-svn" => 1 }, @@ -3654,14 +3655,23 @@ On W32 based systems it adds or removes the binary dir to the system or user registry path entry, depending on being admin and the setting $tlpdb->option("w32_multi_user"). -=head2 postaction [--w32mode=user|admin] [--fileassocmode=1|2] [--all] +=head2 postaction [-w32mode=user|admin] [-fileassocmode=1|2] [-all] [install|remove] [shortcut|fileassoc|script] [<package> <package> ...] -Carry out the postaction specified by C<--type> for each of the given -C<<package>>, or for all packages if C<--all> is given. The direction -(installing or removing) is given by the first obligatory argument, while -the postaction to be carried out is given by the second obligatory -argument. +Carry out the postaction C<shortcut>, C<fileassoc>, or C<script> as +given as second obligatory argument in install or remove mode (first +obligatory argument), for either the packages given on the command line, +or for all if C<-all> is given. + +The option C<-w32mode> is C<user> all actions will only carried out in +the user accessible parts of the registry/filesystem, while the C<admin> +mode selects the system wide parts of the registry for the file associations. +Note that if you do not have enough permissions using C<-w32mode=admin> +will not succeed. + +For the postaction C<fileassoc> the mode can be set with <-fileassocmode>. +If it is set to 1, only new assocations are added, if it is set to 2, +all associations are set to the TeX Live programs. =head2 paper |