diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index ef3faaade7f..e55adf213bd 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -590,10 +590,10 @@ for the full story.\n"; # load it BEFORE starting downloads as we set persistent-downloads there! load_config_file(); - # verify that the selected action is allowed - if ($config{'allowed-actions'}) { + # in system mode verify that the selected action is allowed + if (!$opts{"usermode"} && $config{'allowed-actions'}) { if (!TeXLive::TLUtils::member($action, @{$config{'allowed-actions'}})) { - tlwarn("$prg: action not allowed: $action\n"); + tlwarn("$prg: action not allowed in system mode: $action\n"); exit ($F_ERROR); } } |