[Pkg-openldap-devel] r1107 - openldap/trunk/debian

vorlon at alioth.debian.org vorlon at alioth.debian.org
Mon Feb 18 19:11:36 UTC 2008


Author: vorlon
Date: 2008-02-18 19:11:36 +0000 (Mon, 18 Feb 2008)
New Revision: 1107

Modified:
   openldap/trunk/debian/slapd.postinst
Log:
"reconfigure" is not one of the arguments the postinst will be called with,
all we need to support is "configure" which is also used by dpkg-reconfigure



Modified: openldap/trunk/debian/slapd.postinst
===================================================================
--- openldap/trunk/debian/slapd.postinst	2008-02-15 02:47:34 UTC (rev 1106)
+++ openldap/trunk/debian/slapd.postinst	2008-02-18 19:11:36 UTC (rev 1107)
@@ -85,7 +85,7 @@
 
 # Create a new user.  Don't create the user, however, if the local
 # administrator has already customized slapd to run as a different user.
-if [ "$MODE" = "configure" ] || [ "$MODE" = "reconfigure" ] ; then
+if [ "$MODE" = "configure" ]; then
 	if [ "openldap" = "$SLAPD_USER" ] ; then
 		create_new_user
 	fi




More information about the Pkg-openldap-devel mailing list