summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-04-29 19:08:48 +0000
committerErik Troan <ewt@redhat.com>1999-04-29 19:08:48 +0000
commitcca64907ec9836538b4fa2d6840dcdac3803b4f7 (patch)
treeea4951244f418fdfd65a6affc50bb2de89320dd3 /anaconda
parenta30d228c56e01421092ae27441b8b8cb360fc603 (diff)
downloadanaconda-cca64907ec9836538b4fa2d6840dcdac3803b4f7.tar.gz
anaconda-cca64907ec9836538b4fa2d6840dcdac3803b4f7.tar.xz
anaconda-cca64907ec9836538b4fa2d6840dcdac3803b4f7.zip
use a run() method for text/graphics
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda3
1 files changed, 3 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 3909cc713..e11f4c6b2 100755
--- a/anaconda
+++ b/anaconda
@@ -25,6 +25,7 @@ if (not test and os.getpid() > 10 and not force):
if (test):
sys.path.append('balkan')
+ sys.path.append('rpmmodule')
elif (mode == None):
try:
f = open('/dev/fb0', 'r')
@@ -46,8 +47,10 @@ if (mode == 'g' and not os.environ.has_key('DISPLAY')):
if (mode == 'g'):
import gui
+ gui.run()
elif (mode == 't'):
import text
+ text.run()
else:
print "No mode was specified"