diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/fe/gtk/OtherSettings.py | 12 |
2 files changed, 8 insertions, 8 deletions
@@ -2,6 +2,10 @@ # Copyright 2005-2007 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 18 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> + src/fe/gtk/OtherSettings.py: + pre-create conf.d/xdm + 17 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> src/GLIUtility.py: use proper file name for kernel packages diff --git a/src/fe/gtk/OtherSettings.py b/src/fe/gtk/OtherSettings.py index eda225e..a160069 100644 --- a/src/fe/gtk/OtherSettings.py +++ b/src/fe/gtk/OtherSettings.py @@ -147,14 +147,10 @@ Pick one. Nano is the default and recommended. self.add_content(horiz3) def create_etc_files(self, etc_files): - if not "conf.d/keymaps" in etc_files: - etc_files['conf.d/keymaps'] = {} -# if not "conf.d/consolefont" in etc_files: -# etc_files['conf.d/consolefont'] = {} - if not "conf.d/clock" in etc_files: - etc_files['conf.d/clock'] = {} - if not "rc.conf" in etc_files: - etc_files['rc.conf'] = {} + tmp_etc_files = ("conf.d/keymaps", "conf.d/clock", "rc.conf", "conf.d/xdm") + for tmp_etc_file in tmp_etc_files: + if not tmp_etc_file in tmp_etc_files: + etc_files[tmp_etc_file] = {} return etc_files |