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 703cbdfa5cf..b462b75109f 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -1148,10 +1148,10 @@ sub action_paper { init_local_db(); my $texmfconfig; if ($opts{"usermode"}) { - chomp($texmfconfig = `kpsewhich -var-value=TEXMFCONFIG`); - } else { - chomp($texmfconfig = `kpsewhich -var-value=TEXMFSYSCONFIG`); + tlwarn("$prg: action `paper' not supported in usermode\n"); + return ($F_ERROR); } + chomp($texmfconfig = `kpsewhich -var-value=TEXMFSYSCONFIG`); $ENV{"TEXMFCONFIG"} = $texmfconfig; my $action = shift @ARGV; |