mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
6e65c289ea
Starting from this release we switch and install to $PREFIX/share/texlive/2024 instead of $PREFIX/share/texlive.
30 lines
1020 B
Diff
30 lines
1020 B
Diff
--- ./tlpkg/TeXLive/TLUtils.pm.orig 2022-05-01 21:50:15.993394677 +0200
|
|
+++ ./tlpkg/TeXLive/TLUtils.pm 2022-05-01 21:50:48.037394654 +0200
|
|
@@ -1802,7 +1802,7 @@
|
|
}
|
|
my $cmd = $keyval{'cmd'};
|
|
|
|
- my $texdir = `kpsewhich -var-value=TEXMFROOT`;
|
|
+ my $texdir = "@TERMUX_PREFIX@/share/texlive/@YEAR@";
|
|
chomp($texdir);
|
|
my $texdir_bsl = conv_to_w32_path($texdir);
|
|
$cmd =~ s!^("?)TEXDIR/!$1$texdir/!g;
|
|
@@ -1877,7 +1877,7 @@
|
|
if (win32() && defined($keyval{'filew32'})) {
|
|
$file = $keyval{'filew32'};
|
|
}
|
|
- my $texdir = `kpsewhich -var-value=TEXMFROOT`;
|
|
+ my $texdir = "@TERMUX_PREFIX@/share/texlive/@YEAR@";
|
|
chomp($texdir);
|
|
my @syscmd;
|
|
if ($file =~ m/\.pl$/i) {
|
|
@@ -1952,7 +1952,7 @@
|
|
|
|
&log("postaction $how shortcut for " . $tlpobj->name . "\n");
|
|
if ($how eq "install") {
|
|
- my $texdir = `kpsewhich -var-value=TEXMFROOT`;
|
|
+ my $texdir = "@TERMUX_PREFIX@/share/texlive/@YEAR@";
|
|
chomp($texdir);
|
|
my $texdir_bsl = conv_to_w32_path($texdir);
|
|
$icon =~ s!^TEXDIR/!$texdir/!;
|