summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-04 21:44:30 +0000
committerMatt Wilson <msw@redhat.com>2000-01-04 21:44:30 +0000
commit693da6c44321c65336e471cf10d8c62479e3e1f2 (patch)
treece23aad14706431dc34ed0c3233dbe575281116c /anaconda
parent28aaef570a00c6890244e7017e31df790498e0bf (diff)
downloadanaconda-693da6c44321c65336e471cf10d8c62479e3e1f2.tar.gz
anaconda-693da6c44321c65336e471cf10d8c62479e3e1f2.tar.xz
anaconda-693da6c44321c65336e471cf10d8c62479e3e1f2.zip
move this back here, remove printout
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda28
1 files changed, 13 insertions, 15 deletions
diff --git a/anaconda b/anaconda
index 1a68a0d2f..f861c736a 100755
--- a/anaconda
+++ b/anaconda
@@ -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:/"):