diff options
author | Norbert Preining <preining@logic.at> | 2009-07-09 14:56:34 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-07-09 14:56:34 +0000 |
commit | f2e639c95860da3845063aa4f2c6135682f4ec2a (patch) | |
tree | 8f8cf25fb49023d958637e46c71dd163ee823305 /Master/texmf | |
parent | 8a6a08b307d544f708e75f405a4de2aea186c512 (diff) |
rename --fileassoc to --fileassocmode
git-svn-id: svn://tug.org/texlive/trunk@14208 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 858dce9f4fc..7dd70145857 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -139,7 +139,7 @@ my %actionoptions = ( "generate" => { "localcfg" => "=s", "dest" => "=s" }, "postaction" => {"w32mode" => "=s", - "fileassoc" => "=i" }, + "fileassocmode" => "=i" }, "uninstall"=> { "force" => 1 }, "check" => { "use-svn" => 1 }, "recreate-tlpdb" => { "arch" => "=s" } @@ -2900,7 +2900,7 @@ sub check_depends { # action_postaction # this action calls the various post actions if one want's to do that # on a client system or overriding global settings -# tlmgr postaction [--w32mode=user|admin] [--fileassoc=1|2] [--all] +# tlmgr postaction [--w32mode=user|admin] [--fileassocmode=1|2] [--all] # [install|remove] [shortcut|fileassoc|script] [<package> <package> ...] sub action_postaction { @@ -2968,12 +2968,12 @@ sub action_postaction { return; } my $fa = $localtlpdb->option("file_assocs"); - if ($opts{"fileassoc"}) { - if ($opts{"fileassoc"} < 1 || $opts{"fileassoc"} > 2) { - tlwarn("action postaction: value of --fileassoc can only be 1 or 2\n"); + if ($opts{"fileassocmode"}) { + if ($opts{"fileassocmode"} < 1 || $opts{"fileassocmode"} > 2) { + tlwarn("action postaction: value of --fileassocmode can only be 1 or 2\n"); return; } - $fa = $opts{"fileassoc"}; + $fa = $opts{"fileassocmode"}; } for my $p (@todo) { my $tlp = $localtlpdb->get_package($p); @@ -3654,7 +3654,7 @@ 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] [--fileassoc=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 |