[PATCH] Fix issue where default DE not actually installed in TUI (#972592)

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed Jun 19 20:53:54 UTC 2013


If a user leaves the default option to install Gnome, make sure
the selection is actually applied.

It'd be nice to see this in F19 as well, but not critical.
---
 pyanaconda/ui/tui/spokes/software.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/tui/spokes/software.py b/pyanaconda/ui/tui/spokes/software.py
index 63f5473..f6b2e50 100644
--- a/pyanaconda/ui/tui/spokes/software.py
+++ b/pyanaconda/ui/tui/spokes/software.py
@@ -83,7 +83,7 @@ class SoftwareSpoke(NormalTUISpoke):
         # default, and it really should be so we can maintain consistency
         # with graphical behavior
         if self._selection >= 0 and not self.environment:
-            self.environment = self.payload.environments[self._selection]
+            self.apply()
 
         if not self.environment:
             # Ks installs with %packages will have an env selected, unless
-- 
1.7.11.7



More information about the anaconda-patches mailing list