summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-08-05 16:44:57 +0000
committerBill Nottingham <notting@redhat.com>2000-08-05 16:44:57 +0000
commitdb755f731e1f20e79670565ba05451447eac4baa (patch)
tree9e4d9020d0d0fa8f047b036576ccbde87eca8366 /todo.py
parentb2a7573fe69af9b2ba05a3a176d57d3157a71140 (diff)
downloadanaconda-db755f731e1f20e79670565ba05451447eac4baa.tar.gz
anaconda-db755f731e1f20e79670565ba05451447eac4baa.tar.xz
anaconda-db755f731e1f20e79670565ba05451447eac4baa.zip
must remove conflicts *before* committing
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/todo.py b/todo.py
index 83b124430..8ff3200d1 100644
--- a/todo.py
+++ b/todo.py
@@ -1448,26 +1448,7 @@ class ToDo:
self.fstab.mountFilesystems (self.instPath)
- if self.upgrade and self.dbpath:
- # move the rebuilt db into place.
- try:
- iutil.rmrf (self.instPath + "/var/lib/rpm-old")
- except OSError:
- pass
- os.rename (self.instPath + "/var/lib/rpm",
- self.instPath + "/var/lib/rpm-old")
- os.rename (self.instPath + self.dbpath,
- self.instPath + "/var/lib/rpm")
- iutil.rmrf (self.instPath + "/var/lib/rpm-old")
- rpm.addMacro ("_dbpath", "%{_var}/lib/rpm")
- rpm.addMacro ("_dbapi", "3")
- # flag this so we only do it once.
- self.dbpath = None
-
-<<<<<<< todo.py
-=======
if self.upgrade:
->>>>>>> 1.468
# An old mtab can cause confusion (esp if loop devices are
# in it)
f = open(self.instPath + "/etc/mtab", "w+")