summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-28 14:05:10 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-28 14:05:10 +0000
commitcd9df07beee44169080311f31a4352f0bfee145f (patch)
tree3269a859da8d5079bf7df76520d8aaa55cc023f5 /anaconda
parent04ed02532c720cb6bc458982130c19f936ae64b6 (diff)
downloadanaconda-cd9df07beee44169080311f31a4352f0bfee145f.tar.gz
anaconda-cd9df07beee44169080311f31a4352f0bfee145f.tar.xz
anaconda-cd9df07beee44169080311f31a4352f0bfee145f.zip
2004-09-28 Jeremy Katz <katzj@redhat.com>
* anaconda: Lack of a mouse if using remote display shouldn't ask about the mouse type (#133902)
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 2b5370385..0494b65a1 100755
--- a/anaconda
+++ b/anaconda
@@ -856,7 +856,7 @@ if not (flags.test or flags.rootpath) and (iutil.getArch() != "s390" and not os.
if not isHeadless:
# if no mouse we force text mode
mousedev = mousehw.get()
- if ksfile is None and not flags.usevnc and display_mode == 'g' and mousedev[0] == "No - mouse":
+ if ksfile is None and not flags.usevnc and not os.environ.has_key("DISPLAY") and display_mode == 'g' and mousedev[0] == "No - mouse":
# ask for the mouse type
import rhpl.mouse as mouse