summaryrefslogtreecommitdiffstats
path: root/generate-conf-file.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-28 15:51:07 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-28 15:51:07 +0000
commit31e41813c35a0bbc8488335b81186dba196e11f7 (patch)
tree75388fd5dc0e3e125e6a56d5e7fc7b6401881917 /generate-conf-file.pl
parent00d3f389de604bc32e8f43b418dcfd3b97a55939 (diff)
downloadcontrol-center-31e41813c35a0bbc8488335b81186dba196e11f7.tar
control-center-31e41813c35a0bbc8488335b81186dba196e11f7.tar.gz
control-center-31e41813c35a0bbc8488335b81186dba196e11f7.tar.bz2
control-center-31e41813c35a0bbc8488335b81186dba196e11f7.tar.xz
control-center-31e41813c35a0bbc8488335b81186dba196e11f7.zip
enable to build without drakxtools-backend
Diffstat (limited to 'generate-conf-file.pl')
-rwxr-xr-xgenerate-conf-file.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/generate-conf-file.pl b/generate-conf-file.pl
index 879f5cbc..b20e4cfd 100755
--- a/generate-conf-file.pl
+++ b/generate-conf-file.pl
@@ -18,6 +18,13 @@
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);