diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-04 21:44:30 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-04 21:44:30 +0000 |
commit | 693da6c44321c65336e471cf10d8c62479e3e1f2 (patch) | |
tree | ce23aad14706431dc34ed0c3233dbe575281116c /anaconda | |
parent | 28aaef570a00c6890244e7017e31df790498e0bf (diff) | |
download | anaconda-693da6c44321c65336e471cf10d8c62479e3e1f2.tar.gz anaconda-693da6c44321c65336e471cf10d8c62479e3e1f2.tar.xz anaconda-693da6c44321c65336e471cf10d8c62479e3e1f2.zip |
move this back here, remove printout
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -220,6 +220,19 @@ if (display_mode == 'g' and not os.environ.has_key('DISPLAY')): else: (mouseInfo, x) = (result) +# +# setup links required by graphical mode if installing and verify display mode +# +if (display_mode == 'g'): + if not test and not localInstall and not reconfigOnly: + for i in ( "imrc", "im_palette.pal", "gtk" ): + os.symlink ("../mnt/source/RedHat/instimage/etc/" + i, "/etc/" + i) + from gui import InstallInterface +elif (display_mode == 't'): + from text import InstallInterface +else: + sys.exit(1) + if traceOnly: # prints a list of all the modules imported import pdb @@ -238,21 +251,6 @@ if traceOnly: sys.exit(0) -# -# setup links required by graphical mode if installing and verify display mode -# -if (display_mode == 'g'): - if not test and not localInstall and not reconfigOnly: - for i in ( "imrc", "im_palette.pal", "gtk" ): - os.symlink ("../mnt/source/RedHat/instimage/etc/" + i, "/etc/" + i) - from gui import InstallInterface -elif (display_mode == 't'): - print "text mode" - from text import InstallInterface -else: - print "No mode was specified" - sys.exit(1) - # imports after setting up the path if not reconfigOnly: if (method[0:5] == "dir:/"): |