Debian Codegraph @

debian/patches/debian_updmap-search-path

raw
1 ---
2 texmf-dist/scripts/texlive/updmap.pl | 17 ++++++++++++++++-
3 1 file changed, 16 insertions(+), 1 deletion(-)
4
5 --- texlive-base-2026.20260328.orig/texmf-dist/scripts/texlive/updmap.pl
6 +++ texlive-base-2026.20260328/texmf-dist/scripts/texlive/updmap.pl
7 @@ -42,7 +42,7 @@
8 die "$0: had PATH: $ENV{PATH}\n";
9 }
10 chomp($TEXMFROOT);
11 - unshift(@INC, "$TEXMFROOT/tlpkg");
12 + unshift (@INC, "/usr/share/texlive/tlpkg");
13 }
14
15 my $lastchdate = '$Date: 2026-02-24 17:08:16 +0100 (Tue, 24 Feb 2026) $';
16 @@ -418,6 +418,21 @@
17 print "\t$m (in $orig)\n";
18 }
19 print "in $changes_config_file\n";
20 + print "
21 +On Debian systems it is not recommendable to use --syncwithtrees.
22 +We recommend the following actions, according to in which updmap.cfg
23 +the map is listed:
24 + /usr/share/texmf/web2c/updmap.cfg
25 + /usr/share/texlive/texmf-dist/web2c/updmap.cfg
26 + -> please run (as root) update-updmap
27 + /etc/texmf/web2c/updmap.cfg
28 + /usr/local/share/web2c/updmap.cfg
29 + -> edit the file and remove the line
30 + any other place (esp under your home directory)
31 + -> only used if you have user only fonts activated, otherwise
32 + this file should not be there
33 + -> edit it by hand
34 +";
35 print "Do you really want to continue (y/N)? ";
36 my $answer = <STDIN>;
37 $answer = "n" if !defined($answer);