remove tar file, the output of lzma decompress... only original archive file should

stay here.

BUG:FIXED:10680
This commit is contained in:
Faik Uygur
2009-08-04 09:00:07 +00:00
parent 5618a06ab5
commit 0596e307de
+4
View File
@@ -168,6 +168,10 @@ class ArchiveTar(ArchiveBase):
if tarinfo.name.endswith(".desktop"):
ctx.ui.notify(pisi.ui.desktopfile, desktopfile=tarinfo.name)
# Bug #10680
if self.type == 'tarlzma':
os.unlink(self.file_path)
os.chdir(oldwd)
self.close()