diff options
author | Matt Wilson <msw@redhat.com> | 2001-01-09 23:07:59 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-01-09 23:07:59 +0000 |
commit | ec7e70a5e4a9389f8b373c05fc4d94b526c6fdf1 (patch) | |
tree | 594b3c2bc35e9c16ad8c6d12133340ea1854dfda /text.py | |
parent | 5987032c92680bff3cba761e6151b58a81b7a5e6 (diff) | |
download | anaconda-ec7e70a5e4a9389f8b373c05fc4d94b526c6fdf1.tar.gz anaconda-ec7e70a5e4a9389f8b373c05fc4d94b526c6fdf1.tar.xz anaconda-ec7e70a5e4a9389f8b373c05fc4d94b526c6fdf1.zip |
don't present Japanese if we don't have it
Diffstat (limited to 'text.py')
-rw-r--r-- | text.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -46,9 +46,15 @@ import installclass class LanguageWindow: def __call__(self, screen, todo, textInterface): languages = todo.language.available () + + haveKon = os.access ("/sbin/continue", os.X_OK) + if languages.has_key ("Japanese") and not haveKon: + del languages["Japanese"] + descriptions = languages.keys () descriptions.sort () current = todo.language.get () + for lang in descriptions: if languages[lang] == current: default = descriptions.index (lang) |