summaryrefslogtreecommitdiff
path: root/Master/tlpkg/installer/uninstall-tl.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/installer/uninstall-tl.bat')
-rwxr-xr-xMaster/tlpkg/installer/uninstall-tl.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/tlpkg/installer/uninstall-tl.bat b/Master/tlpkg/installer/uninstall-tl.bat
index b33fefde5cd..4f149d7c0f3 100755
--- a/Master/tlpkg/installer/uninstall-tl.bat
+++ b/Master/tlpkg/installer/uninstall-tl.bat
@@ -14,6 +14,14 @@ set PERL5SAVE=%PERL5LIB%
set PERL5LIB=%tlsub%..\tlperl\lib
"%tlsub%..\tlperl\bin\perl" "%~dpn0.pl" %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+rem remove files that are in use by the perl un-installer
+rmdir /s /q %tlsub%..\tlperl
+rmdir /s /q %tlsub%..\..\temp
+del /q %tlsub%..\texlive.tlpdb
+cd %tlsub%..\..
+rmdir /s /q tlpkg
+del /q install-tl.log
rem pause Done
rem cleanup in case of start from command-line