[PATCH] Base install/upgrade default on whether any candidates were found (#590505).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/iw/examine_gui.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/pyanaconda/iw/examine_gui.py b/pyanaconda/iw/examine_gui.py
index 1b8fbbf..d0aea3e 100644
--- a/pyanaconda/iw/examine_gui.py
+++ b/pyanaconda/iw/examine_gui.py
@@ -85,13 +85,6 @@ class UpgradeExamineWindow (InstallWindow):
         global seenExamineScreen
         self.anaconda = anaconda
 
-        if not seenExamineScreen:
-	    # this is the first time we've entered this screen
-	    self.doupgrade = False
-            seenExamineScreen = True
-	else:
-	    self.doupgrade = self.anaconda.upgrade
-
         # we might get here after storage reset that obsoleted
         # root device objects we had found
         if not self.anaconda.rootParts:
@@ -101,6 +94,13 @@ class UpgradeExamineWindow (InstallWindow):
 
         self.parts = self.anaconda.rootParts
 
+        if not seenExamineScreen:
+	    # this is the first time we've entered this screen
+	    self.doupgrade = self.anaconda.upgrade or self.parts
+            seenExamineScreen = True
+	else:
+	    self.doupgrade = self.anaconda.upgrade
+
         vbox = gtk.VBox (False, 12)
 	vbox.set_border_width (8)
 
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux