2022-04-12 21:25:46 +02:00
|
|
|
--- ./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 @@
|
2021-10-24 20:31:15 +02:00
|
|
|
}
|
|
|
|
my $cmd = $keyval{'cmd'};
|
|
|
|
|
|
|
|
- my $texdir = `kpsewhich -var-value=SELFAUTOPARENT`;
|
|
|
|
+ my $texdir = `kpsewhich -var-value=TEXMFROOT`;
|
|
|
|
chomp($texdir);
|
|
|
|
my $texdir_bsl = conv_to_w32_path($texdir);
|
|
|
|
$cmd =~ s!^("?)TEXDIR/!$1$texdir/!g;
|
2022-04-12 21:25:46 +02:00
|
|
|
@@ -1877,7 +1877,7 @@
|
2021-10-24 20:31:15 +02:00
|
|
|
if (win32() && defined($keyval{'filew32'})) {
|
|
|
|
$file = $keyval{'filew32'};
|
|
|
|
}
|
|
|
|
- my $texdir = `kpsewhich -var-value=SELFAUTOPARENT`;
|
|
|
|
+ my $texdir = `kpsewhich -var-value=TEXMFROOT`;
|
|
|
|
chomp($texdir);
|
|
|
|
my @syscmd;
|
|
|
|
if ($file =~ m/\.pl$/i) {
|
2022-04-12 21:25:46 +02:00
|
|
|
@@ -1952,7 +1952,7 @@
|
2021-10-24 20:31:15 +02:00
|
|
|
|
|
|
|
&log("postaction $how shortcut for " . $tlpobj->name . "\n");
|
|
|
|
if ($how eq "install") {
|
|
|
|
- my $texdir = `kpsewhich -var-value=SELFAUTOPARENT`;
|
|
|
|
+ my $texdir = `kpsewhich -var-value=TEXMFROOT`;
|
|
|
|
chomp($texdir);
|
|
|
|
my $texdir_bsl = conv_to_w32_path($texdir);
|
|
|
|
$icon =~ s!^TEXDIR/!$texdir/!;
|