diff options
author | 2007-11-18 00:14:57 +0000 | |
---|---|---|
committer | 2007-11-18 00:14:57 +0000 | |
commit | 911837396a46b7dceecbeb0bbe797fb24468cf08 (patch) | |
tree | 0e5aecfbc4cd75cad607648041f698268402d637 | |
parent | use proper file name for kernel packages (diff) | |
download | gli-911837396a46b7dceecbeb0bbe797fb24468cf08.tar.gz gli-911837396a46b7dceecbeb0bbe797fb24468cf08.tar.bz2 gli-911837396a46b7dceecbeb0bbe797fb24468cf08.zip |
pre-create conf.d/xdm
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1873 f8877401-5920-0410-a79b-8e2d7e04ca0d
-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 |