diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2011-06-02 20:53:20 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2011-06-02 20:53:20 +0000 |
commit | 702fc2aeaeac4279675036a59558e65780646b51 (patch) | |
tree | 13cca83b33be751584ede5d014eb2af4af7bb731 /generate-conf-file.pl | |
download | control-center-702fc2aeaeac4279675036a59558e65780646b51.tar control-center-702fc2aeaeac4279675036a59558e65780646b51.tar.gz control-center-702fc2aeaeac4279675036a59558e65780646b51.tar.bz2 control-center-702fc2aeaeac4279675036a59558e65780646b51.tar.xz control-center-702fc2aeaeac4279675036a59558e65780646b51.zip |
Branch for updates
Diffstat (limited to 'generate-conf-file.pl')
-rwxr-xr-x | generate-conf-file.pl | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/generate-conf-file.pl b/generate-conf-file.pl new file mode 100755 index 00000000..b20e4cfd --- /dev/null +++ b/generate-conf-file.pl @@ -0,0 +1,30 @@ +#!/usr/bin/perl + +# Copyright (C) 2008 Mandriva +# Thierry Vignaud <tvignaud@mandriva.com> +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +use MDK::Common; +use lib qw(./lib); + +package common; + +sub N_ { $_[0] } + +package main; + +use MDV::Control_Center; + +output('mcc.conf', map { s/ /_/g; "ENABLE_$_=yes\n" } sort keys %programs); |