summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-03-07 16:19:00 +0000
committerMatt Wilson <msw@redhat.com>2000-03-07 16:19:00 +0000
commitd54aa332ee791e23ac85d931fae73274123708ef (patch)
tree410c9ed9f1930ad813f2ccd5b071cf4950d95ff7 /todo.py
parente56da64916ca0beb8974ed7327ff37984a49c149 (diff)
downloadanaconda-d54aa332ee791e23ac85d931fae73274123708ef.tar.gz
anaconda-d54aa332ee791e23ac85d931fae73274123708ef.tar.xz
anaconda-d54aa332ee791e23ac85d931fae73274123708ef.zip
font changes, don't use IPV4
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/todo.py b/todo.py
index 22c966f62..82e94e429 100644
--- a/todo.py
+++ b/todo.py
@@ -206,12 +206,14 @@ class Language (SimpleConfigFile):
f.close()
self.langs = {}
self.font = {}
+ self.map = {}
for line in lines:
string.strip(line)
l = string.split(line)
self.langs[l[0]] = l[4]
- self.font[l[0]] = l[3]
+ self.font[l[0]] = l[2]
+ self.map[l[0]] = l[3]
# kickstart needs this
self.abbrevMap = {}
@@ -231,6 +233,15 @@ class Language (SimpleConfigFile):
self.info["LANG"] = self.langs[lang]
os.environ["LANG"] = self.langs[lang]
+ if self.font[lang] != "None":
+ self.info["SYSFONT"] = self.font[lang]
+ self.info["SYSFONTACM"] = self.map[lang]
+ else:
+ if self.info.has_key("SYSFONT"):
+ del self.info["SYSFONT"]
+ if self.info.has_key("SYSFONTACM"):
+ del self.info["SYSFONTACM"]
+
rpm.addMacro("_install_langs", self.langs[lang]);
os.environ["LINGUAS"] = self.langs[lang]
@@ -502,7 +513,6 @@ class ToDo:
f = open (self.instPath + "/etc/sysconfig/network", "w")
f.write ("NETWORKING=yes\n"
- "FORWARD_IPV4=false\n"
"HOSTNAME=")
if self.network.hostname:
f.write(self.network.hostname + "\n")