[Pkg-openldap-devel] [openldap] 05/11: debian/slapd.scripts-common: If the user enters the empty value for the database dumping directory use the default value. Seems like the readline interface does not care about the default value (closes: #308234).
Timo Aaltonen
tjaalton-guest at alioth.debian.org
Thu Oct 10 05:36:12 UTC 2013
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to annotated tag 2.2.23-6
in repository openldap.
commit ab7c7c988c43d088a36f18c2bd828cce3620156d
Author: Torsten Landschoff <torsten at debian.org>
Date: Mon May 9 06:55:56 2005 +0000
debian/slapd.scripts-common: If the user enters the empty value for
the database dumping directory use the default value. Seems like the
readline interface does not care about the default value
(closes: #308234).
---
debian/changelog | 4 ++++
debian/slapd.scripts-common | 6 ++++++
2 files changed, 10 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 75caca7..2b78fea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ openldap2.2 (2.2.23-6) unstable; urgency=low
Torsten Landschoff <torsten at debian.org>:
* debian/po/ja.po: Merge updates from Kenshi Muto (closes: #303505).
* debian/po/fr.po: Merge updates from Christian Perrier (closes: #306229).
+ * debian/slapd.scripts-common: If the user enters the empty value for
+ the database dumping directory use the default value. Seems like the
+ readline interface does not care about the default value
+ (closes: #308234).
Steve Langasek <vorlon at debian.org>:
* libraries/libldap_r/Makefile.in: make sure the ximian-connector ntlm
diff --git a/debian/slapd.scripts-common b/debian/slapd.scripts-common
index afce2ec..a48bf99 100644
--- a/debian/slapd.scripts-common
+++ b/debian/slapd.scripts-common
@@ -27,6 +27,12 @@ configure_dumping() { # {{{
if [ "$RET" != never ]; then
db_input medium slapd/dump_database_destdir || true
db_go || true
+
+ # If the user entered the empty value, go back to the default
+ db_get slapd/dump_database_destdir
+ if [ "$RET" = "" ]; then
+ db_reset slapd/dump_database_destdir
+ fi
fi
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git
More information about the Pkg-openldap-devel
mailing list