summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-19 00:54:20 +0000
committerMatt Wilson <msw@redhat.com>1999-08-19 00:54:20 +0000
commit63f51ea965d4c72ca52da62301de9d4ba2196694 (patch)
treefad71ef6f20eb0042ab5ec89b0daec9b9ea7590d
parentefbbd958ed16845749d9cda8d73bc5f3898dc03f (diff)
downloadanaconda-63f51ea965d4c72ca52da62301de9d4ba2196694.tar.gz
anaconda-63f51ea965d4c72ca52da62301de9d4ba2196694.tar.xz
anaconda-63f51ea965d4c72ca52da62301de9d4ba2196694.zip
don't do these things if we're upgrading
-rw-r--r--todo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/todo.py b/todo.py
index a666764ec..2cc342566 100644
--- a/todo.py
+++ b/todo.py
@@ -746,8 +746,9 @@ class ToDo:
# selected (i.e. - recurse down the selected comps and turn
# on the children
if self.setupFilesystems:
- self.ddruid.save ()
- self.makeFilesystems ()
+ if not self.upgrade:
+ self.ddruid.save ()
+ self.makeFilesystems ()
self.mountFilesystems ()
if not self.installSystem: