summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-04-19 19:19:16 +0000
committerNorbert Preining <preining@logic.at>2008-04-19 19:19:16 +0000
commit7a80fc834b095d31051ae04f922eeab01345e985 (patch)
tree3cc3be07a2c26381a6b46c67bdae90dcd732c939 /Master/texmf
parent11587116fa5b726d5a9391d9792c5082ec3b4073 (diff)
do not remove on win32 wit tlmgr uninstall, but tell the user to use
the Add/Remove panel... git-svn-id: svn://tug.org/texlive/trunk@7529 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.texlua4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.texlua b/Master/texmf/scripts/texlive/tlmgr.texlua
index bbb5395e184..bbf74214fa1 100755
--- a/Master/texmf/scripts/texlive/tlmgr.texlua
+++ b/Master/texmf/scripts/texlive/tlmgr.texlua
@@ -107,6 +107,10 @@ BINDIR=kpse.var_value('SELFAUTOLOC')
if arg[1] == 'uninstall' then
+ if os.type == 'windows' then
+ print ("Please use Add/Remove Programs from the Control Panel to remove TeX Live!")
+ os.exit(0);
+ end
print("If you answer yes here the whole TeX Live installation will be removed!")
io.stdout:write("Remove TeX Live (y/N): ")
local yesno = io.read()