diff options
author | Norbert Preining <preining@logic.at> | 2008-10-27 13:20:00 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-10-27 13:20:00 +0000 |
commit | f766fd30eb3886932b6d8a7f3debbf7adf20ea33 (patch) | |
tree | ddc6e37bc0adad981bfb4570439324de9dcb5403 /Master/texmf | |
parent | e016929f8993dbac12acc8031664e14e6fd7121b (diff) |
Try to remove the last updater step stuff, including the .bat file itself
git-svn-id: svn://tug.org/texlive/trunk@11077 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 628eafa4178..ffa8a1ab744 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -858,11 +858,13 @@ EOF sub close_w32_updater { if ($::updater_started) { + my $desktop_path = TeXLive::TLWinGoo::desktop_path(); + $desktop_path =~ s!/!\\!g; print $::UPDATER "del tlpkg\\installer\\tarsave.exe\n"; - #print $::UPDATER "del THE DESKTOP SHORTCUT\n"; + print $::UPDATER "del \"$desktop_path\\TeX Live Updater Final Step.lnk\"\n"; print $::UPDATER "rem del /s /q temp\n"; print $::UPDATER "rem rmdir temp\n"; - print $::UPDATER "del ", $localtlpdb->root, '/tlpkg/installer/updater.bat', "\n"; + print $::UPDATER "del \"\%~f0\""; close ($::UPDATER); # create a desktop shortcut add_desktop_shortcut( |