summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-04-29 19:15:22 +0000
committerErik Troan <ewt@redhat.com>1999-04-29 19:15:22 +0000
commit35d9f9b2058f6fe2f623bc58f3cf0081b5b599d9 (patch)
tree9798f744156c08951f52f9c55cf2627ff6c8cdd5 /anaconda
parentd6d2cdaa7615a2c6cbed7d7c8778e845236dbcb1 (diff)
downloadanaconda-35d9f9b2058f6fe2f623bc58f3cf0081b5b599d9.tar.gz
anaconda-35d9f9b2058f6fe2f623bc58f3cf0081b5b599d9.tar.xz
anaconda-35d9f9b2058f6fe2f623bc58f3cf0081b5b599d9.zip
use InstlalInterface class
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda11
1 files changed, 7 insertions, 4 deletions
diff --git a/anaconda b/anaconda
index e11f4c6b2..8a3c5f5b3 100755
--- a/anaconda
+++ b/anaconda
@@ -46,11 +46,14 @@ if (mode == 'g' and not os.environ.has_key('DISPLAY')):
sys.exit(0)
if (mode == 'g'):
- import gui
- gui.run()
+ from gui import InstallMethod
elif (mode == 't'):
- import text
- text.run()
+ from text import InstallMethod
else:
print "No mode was specified"
+ sys.exit(1)
+
+method = InstallInterface()
+method.run()
+