summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-21 22:07:38 +0000
committerKarl Berry <karl@freefriends.org>2013-07-21 22:07:38 +0000
commit88a74fd8ee8d228df7363666c16f85b3fcb94f0b (patch)
treea6c5f233579230804a4540b842e2c7d0c5e12074 /Master/texmf-dist/scripts
parente084e4f8235d8fa63be506f6a53b9cf7cdedc2cf (diff)
usermode and updmap creation, report from Jan Musinsky 20 Jul 2013 16:20:04, fixes from Norbert
git-svn-id: svn://tug.org/texlive/trunk@31259 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 45d8d0b0688..3f334b1cc1a 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -681,7 +681,6 @@ sub handle_execute_actions
chomp(my $TEXMFLOCAL = `kpsewhich -var-value=TEXMFLOCAL`);
chomp(my $TEXMFDIST = `kpsewhich -var-value=TEXMFDIST`);
- #
# maps handling
{
my $updmap_run_needed = 0;
@@ -691,8 +690,9 @@ sub handle_execute_actions
for my $m (keys %{$::execute_actions{'disable'}{'maps'}}) {
$updmap_run_needed = 1;
}
+ my $dest = $opts{"usermode"} ? "$::maintree/web2c/updmap.cfg"
+ : "$TEXMFDIST/web2c/updmap.cfg";
if ($updmap_run_needed) {
- my $dest = "$TEXMFDIST/web2c/updmap.cfg";
TeXLive::TLUtils::create_updmap($localtlpdb, $dest);
}
$errors += do_cmd_and_check("updmap$sysmode") if $updmap_run_needed;
@@ -702,7 +702,6 @@ sub handle_execute_actions
# we first have to check if the config files, that is fmtutil.cnf
# or one of the language* files have changed, regenerate them
# if necessary, and then run the necessary fmtutil calls.
-
{
# first check for language* files
my $regenerate_language = 0;