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

Steve Langasek vorlon at alioth.debian.org
Sun Dec 16 11:55:26 UTC 2007


Author: vorlon
Date: 2007-12-16 11:55:26 +0000 (Sun, 16 Dec 2007)
New Revision: 915

Modified:
   openldap/trunk/debian/slapd.scripts-common
Log:
don't worry about the ldbm question when checking whether the db format has
changed; the ldbm question only fires on upgrade, and any upgrade from a
version of OpenLDAP that supports ldbm is going to trip the version check.



Modified: openldap/trunk/debian/slapd.scripts-common
===================================================================
--- openldap/trunk/debian/slapd.scripts-common	2007-12-16 11:47:32 UTC (rev 914)
+++ openldap/trunk/debian/slapd.scripts-common	2007-12-16 11:55:26 UTC (rev 915)
@@ -76,9 +76,7 @@
 # Return success if yes.
 # Usage: if database_format_changed; then
 
-	db_get slapd/migrate_ldbm_to_bdb
-	if [ "$RET" = "true" ] || dpkg --compare-versions \
-			"$OLD_VERSION" lt-nl 2.4.7; then
+	if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.7; then
 		return 0
 	else
 		return 1




More information about the Pkg-openldap-devel mailing list