[Pkg-openldap-devel] [openldap] 23/29: r1579 at pulsar: torsten | 2005-04-01 12:08:35 +0200 * debian/slapd.scripts-common, slapd.postinst: corrected some minor typos.

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:34:52 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-0.pre6
in repository openldap.

commit 9aac319384da4d6b892250db652a448c55d69a4e
Author: Torsten Landschoff <torsten at debian.org>
Date:   Fri Apr 1 10:10:21 2005 +0000

     r1579 at pulsar:  torsten | 2005-04-01 12:08:35 +0200
      * debian/slapd.scripts-common,slapd.postinst: corrected some minor
        typos.
---
 debian/changelog            |    2 ++
 debian/slapd.postinst       |    2 +-
 debian/slapd.scripts-common |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f6516e6..5dc2039 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,8 @@ openldap2.2 (2.2.23-0.pre6) experimental; urgency=low
     unix socket if requested using an ldapi url with x-mod.
   * debian/slapd.scripts-common: change privileges of upgraded databases
     as indicated by SLAPD_USER and SLAPD_GROUP variables.
+  * debian/slapd.scripts-common,slapd.postinst: corrected some minor 
+    typos.
 
  -- 
 
diff --git a/debian/slapd.postinst b/debian/slapd.postinst
index 2ab3da8..8f70633 100644
--- a/debian/slapd.postinst
+++ b/debian/slapd.postinst
@@ -27,7 +27,7 @@ compute_backup_path() {							# {{{
 	# exists to be really sure...  -- Torsten
 
 	local target
-	target="/var/backups/$suffix.ldapdb"
+	target="/var/backups/$basedn.ldapdb"
 	if [ -e "$target" ]; then
 		echo >&2
 		echo >&2 "  Backup path $target exists. Giving up..."
diff --git a/debian/slapd.scripts-common b/debian/slapd.scripts-common
index 5694abe..f65525b 100644
--- a/debian/slapd.scripts-common
+++ b/debian/slapd.scripts-common
@@ -146,7 +146,7 @@ load_databases() {							# {{{
 		echo -n "  - directory $suffix... " >&2
 		slapadd -b "$suffix" -l "$file" || failed=1
 		if [ "$failed" ]; then
-			rm -f "$dbdir/*"
+			rm -f "$dbdir"/*
 			echo failed. >&2
 			exit 1
 		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