diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 6eb6f8d2941..4b7dafbc3f3 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1217,6 +1217,13 @@ sub install_package { tlwarn("Un-tarring $tarfile did not succeed.\n"); return 0; } + if ($what =~ m,http://|ftp://,) { + # we downloaded the original .tar.lzma from the net, so we keep it + } else { + # we are downloading it from CD, so we can unlink it to save + # disk space + unlink($lzmafile); + } } else { tlwarn("Sorry, no idea how to install $what\n"); return 0; |