summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-03-27 00:20:46 +0000
committerNorbert Preining <preining@logic.at>2016-03-27 00:20:46 +0000
commitbdf4c183a71308a52d24e9342baaa03e86215ca9 (patch)
tree1ea894ecdb429e010cec8bdefe562b40f04cb4cf /Master
parent2b56a74387e573d8a12780426359199e69265e5f (diff)
tlmgr: action paper not supported in user mode
git-svn-id: svn://tug.org/texlive/trunk@40150 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl6
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;