diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-03 19:58:29 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-03 19:58:29 +0000 |
commit | 4aa933205ec3f08cde4b7e9a7287178f81c8195b (patch) | |
tree | e9b27277e803f8712c95523c5d129312dcf59d02 /text.py | |
parent | 7437888cecf114525f2736819362ba267de2c630 (diff) | |
download | anaconda-4aa933205ec3f08cde4b7e9a7287178f81c8195b.tar.gz anaconda-4aa933205ec3f08cde4b7e9a7287178f81c8195b.tar.xz anaconda-4aa933205ec3f08cde4b7e9a7287178f81c8195b.zip |
don't run Xconfigurator if it isn't installed
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1202,6 +1202,10 @@ class XconfiguratorWindow: def __call__ (self, screen, todo): if not todo.x.server: return INSTALL_NOOP + # if Xconfigurator isn't installed, we can't run it. + if not os.access (todo.instPath + '/usr/X11R6/bin/Xconfigurator', + os.X_OK): return INSTALL_NOOP + f = open (todo.instPath + "/tmp/SERVER", "w") f.write ("%s %d\n" % (todo.x.server, todo._cardindex)) f.close () |