diff options
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 7fce7812107..c3bb12c365c 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1845,7 +1845,7 @@ sub w32_add_to_path { &log("Old user path: none\n"); } my $mode = 'user'; - if (admin() && $multiuser) { + if (TeXLive::TLWinGoo::admin() && $multiuser) { $mode = 'system'; } adjust_reg_path_for_texlive('add', $bindir, $mode); @@ -1864,7 +1864,7 @@ sub w32_add_to_path { sub w32_remove_from_path { my ($bindir, $multiuser) = @_; my $mode = 'user'; - if (admin() && $multiuser) { + if (TeXLive::TLWinGoo::admin() && $multiuser) { $mode = 'system'; } adjust_reg_path_for_texlive('remove', $bindir, $mode); |