summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texlive/uninstall-win32.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/texlive/uninstall-win32.pl')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/uninstall-win32.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/uninstall-win32.pl b/Master/texmf-dist/scripts/texlive/uninstall-win32.pl
index d82bd38184f..4c6e8c6c7a5 100755
--- a/Master/texmf-dist/scripts/texlive/uninstall-win32.pl
+++ b/Master/texmf-dist/scripts/texlive/uninstall-win32.pl
@@ -55,7 +55,8 @@ sub doit {
`rmdir /s /q "$menupath\\$TeXLive::TLConfig::WindowsMainMenuName" 2>nul`;
# remove bindir from PATH settings
- TeXLive::TLUtils::w32_remove_from_path("$Master/bin/win32",
+ TeXLive::TLUtils::w32_remove_from_path(
+ TeXLive::TLUtils::win32_32 ? "$Master/bin/win32" : "$Master/bin/win64",
$localtlpdb->option("w32_multi_user"));
# unsetenv_reg("TEXBINDIR");