richard: server/kolabconf/lib/Kolab Conf.pm,1.15,1.16
cvs at kolab.org
cvs at kolab.org
Wed Aug 27 22:07:13 CEST 2008
Author: richard
Update of /kolabrepository/server/kolabconf/lib/Kolab
In directory doto:/tmp/cvs-serv16914/lib/Kolab
Modified Files:
Conf.pm
Log Message:
Removed code specific for slapd.conf
See kolab/issue3005
Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/kolabconf/lib/Kolab/Conf.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Conf.pm 20 Aug 2008 20:14:03 -0000 1.15
+++ Conf.pm 27 Aug 2008 20:07:11 -0000 1.16
@@ -723,20 +723,6 @@
$cfg = $templates{$tpl};
# print STDOUT "Rebuilding $tpl => $cfg\n";
build($tpl, $cfg, $ownership{$cfg}, $permissions{$cfg} );
-
- if ($tpl eq "$templatedir/slapd.conf.template") {
- # Update file in place
- if (open (CFG, "+< $cfg" )) {
- while (<CFG>) {
- s/^TLSCertificate/#TLSCertificate/;
- $out .= $_;
- }
- seek(CFG, 0, 0);
- print CFG $out;
- truncate(CFG, tell(CFG));
- close(CFG);
- }
- }
}
}
More information about the commits
mailing list