diff options
author | Mike Fulbright <msf@redhat.com> | 2001-06-29 16:49:25 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-06-29 16:49:25 +0000 |
commit | c9b427027b685b60abc76b84792185e902e25fb1 (patch) | |
tree | caf0993c550fa0da9232cfd0d3b52ce6be7e2a9f /textw/keyboard_text.py | |
parent | dfafe8211c7e561d9ac0ef277be87ab812aa5aaa (diff) | |
download | anaconda-c9b427027b685b60abc76b84792185e902e25fb1.tar.gz anaconda-c9b427027b685b60abc76b84792185e902e25fb1.tar.xz anaconda-c9b427027b685b60abc76b84792185e902e25fb1.zip |
in reconfig load the right keymap
Diffstat (limited to 'textw/keyboard_text.py')
-rw-r--r-- | textw/keyboard_text.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textw/keyboard_text.py b/textw/keyboard_text.py index 57ed00f6b..19bb12e1f 100644 --- a/textw/keyboard_text.py +++ b/textw/keyboard_text.py @@ -2,6 +2,7 @@ from snack import * from constants_text import * from translate import _ import isys +import iutil from log import * from flags import flags @@ -31,15 +32,14 @@ class KeyboardWindow: kbd.set (keyboards[choice]) self.beenRun = 1 - # XXX - #if todo.reconfigOnly: - #iutil.execWithRedirect ("/bin/loadkeys", - #["/bin/loadkeys", keyboards[choice]], - #stderr = "/dev/null") + if flags.reconfig: + iutil.execWithRedirect ("/bin/loadkeys", + ["/bin/loadkeys", keyboards[choice]], + stderr = "/dev/null") try: isys.loadKeymap(keyboards[choice]) except SystemError, (errno, msg): log("Could not install keymap %s: %s" % (keyboards[choice], msg)) return INSTALL_OK - + |