diff options
author | Matt Wilson <msw@redhat.com> | 2000-03-02 19:42:04 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-03-02 19:42:04 +0000 |
commit | fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc (patch) | |
tree | 3e4bbfd3437cf070e287e2def698809c47a1f1e0 | |
parent | e6167b6664711f4f20f7bf269dfc1b99dd8c866b (diff) | |
download | anaconda-fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc.tar.gz anaconda-fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc.tar.xz anaconda-fcfbd0afe6fd3ccd3abf280a9a645f354452e5bc.zip |
fix reconfig mode
-rw-r--r-- | text.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |