summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-27 16:41:09 +0000
committerMike Fulbright <msf@redhat.com>2001-07-27 16:41:09 +0000
commit8aa076c6176efe7e7a8e7e8c45db499714f84735 (patch)
tree55497b28338dde0493655cc0381f63efc0afb8a8 /anaconda
parent46e6a32f0de9c6c2c1505e9f161407bc1b8fea02 (diff)
downloadanaconda-8aa076c6176efe7e7a8e7e8c45db499714f84735.tar.gz
anaconda-8aa076c6176efe7e7a8e7e8c45db499714f84735.tar.xz
anaconda-8aa076c6176efe7e7a8e7e8c45db499714f84735.zip
dont fall over in reconfig if they are in text mode and didn't install Xconfigurator
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda4
1 files changed, 3 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index ffd8166c8..286fd5cf0 100755
--- a/anaconda
+++ b/anaconda
@@ -440,7 +440,9 @@ if display_mode == 'g':
else:
xcfg = xf86config.XF86Config(videohw.primaryCard(),
monitorhw, mousehw, runres)
-else:
+elif progmode != 'reconfig':
+ # only probe X related stuff if we're doing an install
+
import xf86config
xcfg = xf86config.XF86Config(videohw.primaryCard(),
monitorhw, mousehw, runres)