diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-05-30 16:47:09 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-05-30 16:47:09 +0000 |
commit | fe75fa861fe932cfacc34e699f935f1abac626f3 (patch) | |
tree | 69758e86eb3efb82d7d213eb60ea8be7ce2889d0 /language.py | |
parent | a23e7ab8717ecb35150d5ae0ebce6f24fed3adf9 (diff) | |
download | anaconda-fe75fa861fe932cfacc34e699f935f1abac626f3.tar.gz anaconda-fe75fa861fe932cfacc34e699f935f1abac626f3.tar.xz anaconda-fe75fa861fe932cfacc34e699f935f1abac626f3.zip |
hacks so that we get an /etc/sysconfig/i18n even though we're not really using the supported language stuff anymore
Diffstat (limited to 'language.py')
-rw-r--r-- | language.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/language.py b/language.py index 2d5d062e0..cf4f0d8fc 100644 --- a/language.py +++ b/language.py @@ -204,6 +204,9 @@ class Language (SimpleConfigFile): self.langInfoByName = langInfoByName self.allSupportedLangs = allSupportedLangs + # XXX hack since we don't really use language support anymore + self.setSupported(self.allSupportedLangs) + def getAllSupported(self): return self.allSupportedLangs @@ -284,6 +287,9 @@ class Language (SimpleConfigFile): os.environ ["LINGUAS"] = "" def write(self, instPath): + # XXX hack since we don't actually use the supported aspects anymore + self.setDefault(self.getDefault()) + f = open(instPath + "/etc/sysconfig/i18n", "w") f.write(str (self)) f.close() |