diff options
Diffstat (limited to 'Master/texmf/scripts')
-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 |