Skip to content

Commit

Permalink
updating installer data
Browse files Browse the repository at this point in the history
  • Loading branch information
norbusan committed Sep 21, 2024
1 parent 88880da commit 628337c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tlpkg/TeXLive/TLWinGoo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ sub adjust_reg_path_for_texlive {
debug("Warning: [pdf]tex program not found in $tlbindir\n")
if (!is_a_texdir($tlbindir));
my $path = ($mode eq 'system') ? get_system_path() : get_user_path();
debug("TLWinGoo: adjust_reg_path_for_texlive: current path before adjusting = $path\n");
$tlbindir =~ s!/!\\!g;
my $tlbindir_short = uc(short_name($tlbindir));
my ($d, $d_short, @newpath);
Expand Down Expand Up @@ -490,7 +491,7 @@ sub adjust_reg_path_for_texlive {
}
}
if (@newpath) {
debug("TLWinGoo: adjust_reg_path_for_texlive: calling setenv_reg in $mode\n");
debug("TLWinGoo: adjust_reg_path_for_texlive: calling setenv_reg in $mode with new path = ", join(';', @newpath), "\n");
setenv_reg("Path", join(';', @newpath), $mode);
} else {
debug("TLWinGoo: adjust_reg_path_for_texlive: calling unsetenv_reg in $mode\n");
Expand Down

0 comments on commit 628337c

Please sign in to comment.