summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-03-02 19:42:04 +0000
committerMatt Wilson <msw@redhat.com>2000-03-02 19:42:04 +0000
commitfcfbd0afe6fd3ccd3abf280a9a645f354452e5bc (patch)
tree3e4bbfd3437cf070e287e2def698809c47a1f1e0 /text.py
parente6167b6664711f4f20f7bf269dfc1b99dd8c866b (diff)
downloadanaconda-fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc.tar.gz
anaconda-fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc.tar.xz
anaconda-fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc.zip
fix reconfig mode
Diffstat (limited to 'text.py')
-rw-r--r--text.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/text.py b/text.py
index c8621d869..69fe8aa85 100644
--- a/text.py
+++ b/text.py
@@ -177,9 +177,13 @@ class KeyboardWindow:
return INSTALL_BACK
todo.keyboard.set (keyboards[choice])
if not todo.serial:
- try:
- isys.loadKeymap(keyboards[choice])
- except SystemError, (errno, msg):
+ if todo.reconfigOnly:
+ iutil.execWithRedirect ("/bin/loadkeys",
+ ["/bin/loadkeys", keyboards[choice]])
+ else:
+ try:
+ isys.loadKeymap(keyboards[choice])
+ except SystemError, (errno, msg):
todo.log("Could not install keymap %s: %s" % (keyboards[choice], msg))
return INSTALL_OK