summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-04-27 15:39:02 +0000
committerMatt Wilson <msw@redhat.com>2000-04-27 15:39:02 +0000
commit7fb1679581871ed83bac3cbcddcc46aa162dc5c4 (patch)
tree8caeb16188f142ed8948b6f24fc09b0d9352d6eb /todo.py
parent58fbf93ed369ca8cf76f712db9f10a90c36d6e0c (diff)
downloadanaconda-7fb1679581871ed83bac3cbcddcc46aa162dc5c4.tar.gz
anaconda-7fb1679581871ed83bac3cbcddcc46aa162dc5c4.tar.xz
anaconda-7fb1679581871ed83bac3cbcddcc46aa162dc5c4.zip
second pass at XFree86 4.0 support
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/todo.py b/todo.py
index 840c3b50a..f20247cc4 100644
--- a/todo.py
+++ b/todo.py
@@ -301,10 +301,7 @@ class ToDo:
self.network = Network ()
self.rootpassword = Password ()
self.extraModules = extraModules
- if mouse:
- self.mouse = Mouse (xmouseType = mouse)
- else:
- self.mouse = Mouse ()
+ self.mouse = Mouse ()
self.keyboard = Keyboard ()
self.auth = Authentication ()
self.desktop = Desktop ()
@@ -500,7 +497,7 @@ class ToDo:
for n in packages:
self.selectPackage(n)
- if self.x.server:
+ if self.x.server and not self.x.server == "XFree86":
self.selectPackage('XFree86-' + self.x.server)
def selectPackage(self, package):
@@ -1111,7 +1108,7 @@ class ToDo:
self.hdList['yp-tools'].selected = 1
self.hdList['portmap'].selected = 1
- if self.x.server:
+ if self.x.server and not self.x.server == "XFree86":
self.selectPackage ('XFree86-' + self.x.server)
# make sure that all comps that include other comps are
@@ -1289,10 +1286,10 @@ class ToDo:
if os.access (self.instPath + "/etc/X11/X", os.R_OK):
os.rename (self.instPath + "/etc/X11/X",
self.instPath + "/etc/X11/X.rpmsave")
- os.symlink ("../../usr/X11R6/bin/XF86_" + self.x.server,
+ os.symlink ("../../usr/X11R6/bin/" + self.x.server,
self.instPath + "/etc/X11/X")
- self.x.write (self.instPath + "/etc/X11/XF86Config")
+ self.x.write (self.instPath + "/etc/X11")
self.setDefaultRunlevel ()
# go ahead and depmod modules on alpha, as rtc modprobe
# will complain loudly if we don't do it now.