summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-04 20:10:17 +0000
committerMatt Wilson <msw@redhat.com>2000-01-04 20:10:17 +0000
commit3aa7a23b63d5a7eb19e0964876be0e1bf2c54da0 (patch)
tree25193c9d422a061a227a5ade8c5251bf5b7d692a /anaconda
parentc68cac0596c79f534e435688ccbede6338b77b68 (diff)
downloadanaconda-3aa7a23b63d5a7eb19e0964876be0e1bf2c54da0.tar.gz
anaconda-3aa7a23b63d5a7eb19e0964876be0e1bf2c54da0.tar.xz
anaconda-3aa7a23b63d5a7eb19e0964876be0e1bf2c54da0.zip
run the traceonly before printing "text mode" -- it was messing up the
script
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda30
1 files changed, 15 insertions, 15 deletions
diff --git a/anaconda b/anaconda
index 2acddcb2d..1a68a0d2f 100755
--- a/anaconda
+++ b/anaconda
@@ -220,21 +220,6 @@ 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'):
- print "text mode"
- from text import InstallInterface
-else:
- print "No mode was specified"
- sys.exit(1)
-
if traceOnly:
# prints a list of all the modules imported
import pdb
@@ -253,6 +238,21 @@ 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:/"):