summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-07-06 14:09:21 +0000
committerNorbert Preining <preining@logic.at>2009-07-06 14:09:21 +0000
commit32e3c03600f12ebe69986880715fdc0e5f7f8325 (patch)
treeaea8a5e0287973167cba9db04a5a9aa46f641acd /Master
parent8c7580d12e23be3829956344bfd96f7b10f2677d (diff)
small fix for not imported admin()
git-svn-id: svn://tug.org/texlive/trunk@14151 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm4
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);