aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-05 12:36:31 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-05 12:36:31 +0000
commite5cdeb7d7ee10d56f640e3450c64112d8a001027 (patch)
tree206d22b85a112793927fc779b65ac65291060296
parentiw/profile_gui.py: fix radiobutton creation (diff)
downloadanaconda-e5cdeb7d7ee10d56f640e3450c64112d8a001027.tar.gz
anaconda-e5cdeb7d7ee10d56f640e3450c64112d8a001027.tar.bz2
anaconda-e5cdeb7d7ee10d56f640e3450c64112d8a001027.zip
iw/profile_gui.py: Set the selected profile (needed for USE flags)
-rw-r--r--iw/profile_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/profile_gui.py b/iw/profile_gui.py
index ecc35cd..8b289f8 100644
--- a/iw/profile_gui.py
+++ b/iw/profile_gui.py
@@ -39,6 +39,8 @@ class ProfileWindow(InstallWindow):
for button in self.buttons:
if button.get_property("active"):
self.anaconda.profile = button.get_property("label")
+ # We need this for the USE flags
+ subprocess.call(["eselect", "profile", "set", self.anaconda.profile])
return None
def getScreen(self, anaconda):