4f75cf25fd
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
13 lines
480 B
Diff
13 lines
480 B
Diff
kpsewhich TEXMFROOT is not the correct value to use in our setup.
|
|
|
|
--- a/texk/texlive/linked_scripts/texlive/updmap.pl 2021-01-21 11:15:02.314074252 +1100
|
|
+++ b/texk/texlive/linked_scripts/texlive/updmap.pl 2021-01-21 11:15:53.365456336 +1100
|
|
@@ -19,7 +19,7 @@
|
|
my $TEXMFROOT;
|
|
BEGIN {
|
|
$^W = 1;
|
|
- $TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`;
|
|
+ $TEXMFROOT = "/usr/share/texmf-dist";
|
|
if ($?) {
|
|
die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n";
|
|
}
|