summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-02 15:16:56 +0000
committerMatt Wilson <msw@redhat.com>1999-08-02 15:16:56 +0000
commit5e152be2dd6f708410cb46e671245e649991f92b (patch)
treeab9e4b573d5217f6b3e4fdcfaa2370fa87483bae /anaconda
parent671e0b107cb387e87d2a9763a0a73e81e8e81c02 (diff)
downloadanaconda-5e152be2dd6f708410cb46e671245e649991f92b.tar.gz
anaconda-5e152be2dd6f708410cb46e671245e649991f92b.tar.xz
anaconda-5e152be2dd6f708410cb46e671245e649991f92b.zip
o New interface requirements: exceptionWindow, messageWindow
o Network device configuration, configuration file writing o Root password dialog, /etc/password modification o isys has the ntoa and aton functions in it now
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda29
1 files changed, 22 insertions, 7 deletions
diff --git a/anaconda b/anaconda
index 8a8b27940..f5b9c41ec 100755
--- a/anaconda
+++ b/anaconda
@@ -1,9 +1,11 @@
#!/usr/bin/python
import sys, getopt, os
-import lang
+import gettext
-_=lang.gettext
+gettext.bindtextdomain("anaconda", "/usr/share/locale")
+gettext.textdomain("anaconda")
+_ = gettext.gettext
(args, extra) = getopt.getopt(sys.argv[1:], 'p:GTtdr:f',
[ 'gui', 'text', 'test', 'debug', 'rootpath=',
@@ -112,10 +114,23 @@ if test:
if forceMount:
setupFilesystems = 1
-todo = ToDo(intf, method, rootPath, installSystem = installPackages,
- setupFilesystems = setupFilesystems)
-
-intf.run(todo)
-todo.doInstall()
+try:
+ todo = ToDo(intf, method, rootPath, installSystem = installPackages,
+ setupFilesystems = setupFilesystems)
+ intf.run(todo)
+ todo.doInstall(intf)
+ intf.messageWindow (_("Complete"),
+ _("Congratulations, installation is complete.\n\n"
+ "Remove the boot media and "
+ "press return to reboot. For information on fixes which are "
+ "available for this release of Red Hat Linux, consult the "
+ "Errata available from http://www.redhat.com.\n\n"
+ "Information on configuring your system is available in the post "
+ "install chapter of the Official Red Hat Linux User's Guide."))
+
+except:
+ exc = sys.exc_info()
+ intf.exceptionWindow (exc)
+ os._exit (1)
del intf