summaryrefslogtreecommitdiffstats
path: root/pyanaconda/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-08-23 15:25:45 -0400
committerChris Lumens <clumens@redhat.com>2011-08-23 15:25:45 -0400
commit2e95e9163a40782babcc43671b0dc31185d3607b (patch)
treeeeb61bfb2ee2375414708150bf5bad29246f7c4f /pyanaconda/yuminstall.py
parente6efc55db44326c92418e1a47ce6deb1a2b32232 (diff)
downloadanaconda-2e95e9163a40782babcc43671b0dc31185d3607b.tar.gz
anaconda-2e95e9163a40782babcc43671b0dc31185d3607b.tar.xz
anaconda-2e95e9163a40782babcc43671b0dc31185d3607b.zip
Close out the yum history before running %post scripts (#730857).
Diffstat (limited to 'pyanaconda/yuminstall.py')
-rw-r--r--pyanaconda/yuminstall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index cfd8e0f4b..da10e9708 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -1230,6 +1230,8 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
if os.access(anaconda.rootPath + "/tmp/yum.log", os.R_OK):
os.unlink(anaconda.rootPath + "/tmp/yum.log")
+ self.ayum.history.close()
+
def doBackendSetup(self, anaconda):
if anaconda.dir == DISPATCH_BACK:
return DISPATCH_BACK