Looks good, Regards, Hans On 06/09/2009 08:15 PM, Chris Lumens wrote:
---
yuminstall.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/yuminstall.py b/yuminstall.py
index 82ba256..7063595 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -675,6 +675,9 @@ class AnacondaYum(YumSorter):
if rc == 0:
sys.exit(0)
else:
+ if os.path.exists(package.localPkg()):
+ os.unlink(package.localPkg())
+
if not self.isodir and self.currentMedia:
self._switchCD(self.currentMedia)
else: