steffen: server/kolabd/kolabd kolab_bootstrap,1.5,1.6

cvs at intevation.de cvs at intevation.de
Tue Dec 14 13:28:37 CET 2004


Author: steffen

Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv1150

Modified Files:
	kolab_bootstrap 
Log Message:
just keep ownership and permissions on kolab.conf by mv-ing it

Index: kolab_bootstrap
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolab_bootstrap,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- kolab_bootstrap	13 Dec 2004 22:35:06 -0000	1.5
+++ kolab_bootstrap	14 Dec 2004 12:28:35 -0000	1.6
@@ -193,9 +193,8 @@
   print "creating backup of CA data\n";
   system("mv ".$kolab_prefix."/etc/kolab/ca ".$backupdir);
   system("mv ".$kolab_prefix."/etc/kolab/*.pem ".$backupdir);
-  print "deleteing old kolab.conf\n";
-  copy($kolab_config, $backupdir."/kolab.conf");
-  chmod(0600,$backupdir."/kolab.conf");
+  system("mv $kolab_config $backupdir");
+  print "Cleaning up LDAP\n";
   system("rm -f ".$kolab_prefix."/var/openldap/openldap-data/*");
 } else {
   print "LDAP repository is empty - assuming fresh install\n";





More information about the commits mailing list