diff options
author | Chris Lumens <clumens@redhat.com> | 2005-06-28 18:42:55 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-06-28 18:42:55 +0000 |
commit | ac120dc77bcbabf566beaaeceddfdf2575279b52 (patch) | |
tree | 182bcfff9484133b3fc420d848701db6ea1ee908 /kickstart.py | |
parent | 66e26cbfe6b118a8536bb1b72874865e75ebbcbf (diff) | |
download | anaconda-ac120dc77bcbabf566beaaeceddfdf2575279b52.tar.gz anaconda-ac120dc77bcbabf566beaaeceddfdf2575279b52.tar.xz anaconda-ac120dc77bcbabf566beaaeceddfdf2575279b52.zip |
Deprecate the langsupport kickstart keyword in favor of adding language
support package groups to the %packages section of the kickstart file.
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/kickstart.py b/kickstart.py index 619d7836a..f5a34c553 100644 --- a/kickstart.py +++ b/kickstart.py @@ -576,23 +576,7 @@ class Kickstart(BaseInstallClass): self.skipSteps.append("language") def doLangSupport (self, id, args): - (args, extra) = isys.getopt(args, '', [ 'default=' ]) - deflang = "en_US.UTF-8" - if args: - deflang = args[0][1] - else: - # if they specified no default we default to en_US if - # they installed support for more than one lang, otherwise - # we default to the one language they specified support for - if extra is None: - deflang = "en_US.UTF-8" - elif len(extra) >= 1: - deflang = extra[0] - else: - deflang = "en_US.UTF-8" - - self.setLanguageDefault (id, deflang) - self.setLanguageSupport(id, extra) + raise KickstartError, "The langsupport keyword has been removed. Instead, please alter your kickstart file to include the support package groups for the languages you want instead of using langsupport. For instance, include the french-support group instead of specifying 'langsupport fr'." def doKeyboard(self, id, args): self.setKeyboard(id, args[0]) |