summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-03 21:10:53 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-03 21:10:53 +0000
commita0086f615d807e0bef958afef0667003061e93fc (patch)
tree4f6b7dab515cdb945b2159cc88eee29cfd392b12 /installclass.py
parentba0dea272a7a3affdea5f6f96b732f999742e42d (diff)
downloadanaconda-a0086f615d807e0bef958afef0667003061e93fc.tar.gz
anaconda-a0086f615d807e0bef958afef0667003061e93fc.tar.xz
anaconda-a0086f615d807e0bef958afef0667003061e93fc.zip
if the specified default isn't in the langlist, put it there. anything else is kind of silly. (#70672)
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index 08059a4c1..ead3dfd68 100644
--- a/installclass.py
+++ b/installclass.py
@@ -293,6 +293,11 @@ class BaseInstallClass:
newlist = []
for lang in langlist:
newlist.append(id.langSupport.getLangNameByNick(lang))
+
+ default = id.langSupport.getDefault()
+ if default not in newlist:
+ newlist.append(default)
+
id.langSupport.setSupported(newlist)
def setLanguageDefault(self, id, default):