[Pkg-openldap-devel] Bug#665199: Initiate dumping of dbs, but actual dumping yet to be fixed
Serafeim Zanikolas
sez at debian.org
Tue Dec 11 20:48:45 UTC 2012
Hi,
Here's a tested patch for the part of the problem that's described in message
#17 in this bug report. We still need a solution for the issue described in
message #68.
Cheers,
sez
--- openldap-2.4.31/debian/slapd.postinst 2012-12-11 14:34:47.000000000 +0100
+++ new/openldap-2.4.31/debian/slapd.postinst 2012-12-11 20:58:39.000000000 +0100
@@ -78,6 +78,9 @@ fi
if is_initial_configuration "$@"; then
postinst_initial_configuration
else
+ if [ "$MODE" = configure ] && previous_version_older 2.4.31-1; then
+ dump_databases
+ fi
postinst_upgrade_configuration
fi
--
Every great idea is worthless without someone to do the work. --Neil Williams
More information about the Pkg-openldap-devel
mailing list