summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-03 03:20:01 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-03 03:20:01 +0000
commita2e7edb16db50a54b0d7937fd07ab78cc4da94fa (patch)
treef4c8c61588dc95f814e6fb14d58a7bd08026e91e /anaconda
parentf4486aaa8167181386a58868d3ec23deaf41e4c5 (diff)
downloadanaconda-a2e7edb16db50a54b0d7937fd07ab78cc4da94fa.tar.gz
anaconda-a2e7edb16db50a54b0d7937fd07ab78cc4da94fa.tar.xz
anaconda-a2e7edb16db50a54b0d7937fd07ab78cc4da94fa.zip
don't override xauthority if set (based on comments from patrick devine on anaconda-devel-list
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 963f181b1..1bb28bb15 100755
--- a/anaconda
+++ b/anaconda
@@ -312,7 +312,7 @@ textdomain("anaconda")
signal.signal(signal.SIGINT, signal.SIG_DFL)
# Silly GNOME stuff
-if os.environ.has_key('HOME'):
+if os.environ.has_key('HOME') and not os.environ.has_key("XAUTHORITY"):
os.environ['XAUTHORITY'] = os.environ['HOME'] + '/.Xauthority'
os.environ['HOME'] = '/tmp'
os.environ['LC_NUMERIC'] = 'C'