diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-05-17 17:56:20 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-05-17 17:56:20 +0000 |
commit | dc04d89f2120859df75bf5a392f3719cabc05802 (patch) | |
tree | 0cd891763a3318445b966a4fffeaac9f0c4118f6 | |
parent | 887a8c3f1f3634d793d68aa4dfa5e24cf2d1b819 (diff) | |
download | anaconda-dc04d89f2120859df75bf5a392f3719cabc05802.tar.gz anaconda-dc04d89f2120859df75bf5a392f3719cabc05802.tar.xz anaconda-dc04d89f2120859df75bf5a392f3719cabc05802.zip |
* vnc.py (askVncWindow): Check for an executable Xvnc.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vnc.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-05-17 David Cantrell <dcantrell@redhat.com> + + * vnc.py (askVncWindow): Check for an executable Xvnc. + 2007-05-17 Jeremy Katz <katzj@redhat.com> * upgrade.py (upgrade_remove_blacklist): Add esound to the list @@ -30,7 +30,7 @@ log = logging.getLogger("anaconda") # return -1 to use text mode, None for no vncpass, or vncpass otherwise def askVncWindow(): - if not os.path.isfile('/usr/bin/Xvnc'): + if not os.access('/usr/bin/Xvnc', os.X_OK): return -1 if network.hasActiveNetDev() == False: |