summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-08-21 13:59:47 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-08-21 13:59:47 +0000
commit39c48d617f828e8284bab29afce55737c45254aa (patch)
tree7c9b83e7f6a432f76b820f0d59a1f7e2fe2f2580 /Master/tlpkg
parentc341160e5c9859df68c2d8acf2ddde42fd52d4ad (diff)
Windows uninstaller: cancel does now cancel.
git-svn-id: svn://tug.org/texlive/trunk@10391 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rw-r--r--Master/tlpkg/TeXLive/TLWinGoo.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLWinGoo.pm b/Master/tlpkg/TeXLive/TLWinGoo.pm
index b82d417cf41..53c6da426ca 100644
--- a/Master/tlpkg/TeXLive/TLWinGoo.pm
+++ b/Master/tlpkg/TeXLive/TLWinGoo.pm
@@ -1005,6 +1005,7 @@ rem This should not be necessary, but sometimes it is:
path $td\\bin\\win32;%path%
set PERL5LIB=
\"$td\\tlpkg\\tlperl\\bin\\perl.exe\" \"$td\\texmf\\scripts\\texlive\\uninstall-win32.pl\"
+if errorlevel 1 exit
call \"$tdw\\tlpkg\\installer\\unshort.bat\"
copy \"$tdw\\tlpkg\\installer\\uninst2.bat\" \"\%TEMP\%\"
rem pause
@@ -1027,8 +1028,8 @@ rmdir /s /q \"$td\\bin\"
rmdir /s /q \"$td\\tlpkg\"
del /q \"$td\\README.*\"
del /q \"$td\\LICENSE.*\"
-del /q \"$td\\index.html\"
-del /q \"$td\\texmf.cnf\"
+del \"$td\\index.html\"
+del \"$td\\texmf.cnf\"
UNEND2
;
print UNINST2 <<UNEND2;
@@ -1037,7 +1038,7 @@ rmdir /s /q \"$tdsc\"
rmdir /s /q \"$tdw\\temp\"
rmdir /s /q \"$tdw\\tlpkg\"
del \"$tdw\\install-tl.log\"
-del \"$tdw\\texlive.profile\"
+del \"$tdw\\texlive.profile\" 2>nul
del \"$tdw\\release-texlive.txt\"
set test=
for \%\%f in (\"$tdw\\*.*\") do \@set test=nonempty