diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-03-06 16:56:41 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-03-06 16:56:41 +0000 |
commit | 71cb76aaca83558445afb242c3ea99de034324d5 (patch) | |
tree | 69a74c0f0c6c96696c49cfbd204cd135512bad53 /yuminstall.py | |
parent | 2b01291b6bc1efd4889a0fb7c6ccef9742c606c9 (diff) | |
download | anaconda-71cb76aaca83558445afb242c3ea99de034324d5.tar.gz anaconda-71cb76aaca83558445afb242c3ea99de034324d5.tar.xz anaconda-71cb76aaca83558445afb242c3ea99de034324d5.zip |
* yuminstall.py (doPostInstall): Only set runlevel 5 if we're running
the installer in graphical mode (#184013).
Diffstat (limited to 'yuminstall.py')
-rw-r--r-- | yuminstall.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yuminstall.py b/yuminstall.py index 8968e4897..dee766ed0 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1000,8 +1000,9 @@ class YumBackend(AnacondaBackend): break for tsmbr in self.ayum.tsInfo.matchNaevr(name='gdm'): - id.desktop.setDefaultRunLevel(5) - break + if id.displayMode == 'g': + id.desktop.setDefaultRunLevel(5) + break # XXX: write proper lvm config |