summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorbfox <bfox>2000-10-09 18:07:50 +0000
committerbfox <bfox>2000-10-09 18:07:50 +0000
commitcbadc5854aeb6a983150d78ddb34a52a177e3cb7 (patch)
tree31a8110d4e83d092f1041842f1d624c8dd20eb19 /installclass.py
parentd350b036072c2d47a169186d44e126c1de7531ac (diff)
downloadanaconda-cbadc5854aeb6a983150d78ddb34a52a177e3cb7.tar.gz
anaconda-cbadc5854aeb6a983150d78ddb34a52a177e3cb7.tar.xz
anaconda-cbadc5854aeb6a983150d78ddb34a52a177e3cb7.zip
Fixed bug in configureX that causes "xconfig --noprobe" to fail on kickstart installs.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/installclass.py b/installclass.py
index 530187364..5bbe9a9c3 100644
--- a/installclass.py
+++ b/installclass.py
@@ -139,22 +139,22 @@ class BaseInstallClass:
if (not noProbe):
self.x.probe()
- if not self.x.server:
- if (card != None):
- self.x.setVidcardByName (card)
- elif (server != None):
- self.x.setVidcardByServer (server)
- else:
- raise RuntimeError, "Could not probe video card and no fallback specified."
+ if not self.x.server:
+ if (card != None):
+ self.x.setVidcardByName (card)
+ elif (server != None):
+ self.x.setVidcardByServer (server)
+ else:
+ raise RuntimeError, "Could not probe video card and no fallback specified."
- if not self.x.monID and monitor:
- self.x.setMonitor((monitor, (None, None)))
- elif hsync and vsync:
- self.x.setMonitor((None, (hsync, vsync)))
+ if not self.x.monID and monitor:
+ self.x.setMonitor((monitor, (None, None)))
+ elif hsync and vsync:
+ self.x.setMonitor((None, (hsync, vsync)))
- if startX:
- self.defaultRunlevel = 5
+ if startX:
+ self.defaultRunlevel = 5
# Groups is a list of group names -- the full list can be found in
# ths comps file for each release