[Da-tools-commits] ./da-tools/userdir-ldap-common r390: Add compatibility to dchroot-dsa to ud-replicate

Andreas Barth aba at not.so.argh.org
Fri May 16 17:34:58 UTC 2008


------------------------------------------------------------
revno: 390
committer: Andreas Barth <aba at not.so.argh.org>
branch nick: userdir-ldap-common
timestamp: Fri 2008-05-16 17:34:58 +0000
message:
  Add compatibility to dchroot-dsa to ud-replicate
modified:
  debian/changelog
  ud-replicate
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-05-14 15:56:01 +0000
+++ b/debian/changelog	2008-05-16 17:34:58 +0000
@@ -1,3 +1,9 @@
+userdir-ldap (0.3.24) UNRELEASED; urgency=low
+
+  * Add compatibility to dchroot-dsa to ud-replicate.
+
+ -- Andreas Barth <aba at alioth.debian.org>  Fri, 16 May 2008 17:32:37 +0000
+
 userdir-ldap (0.3.23) unstable; urgency=low
 
   * Fix generation of known_hosts file.

=== modified file 'ud-replicate'
--- a/ud-replicate	2008-05-13 20:09:02 +0000
+++ b/ud-replicate	2008-05-16 17:34:58 +0000
@@ -70,6 +70,11 @@
 
 if [ -x /usr/bin/dchroot ]; then
 	CHROOTS=`dchroot --listpaths`
+fi
+if [ -x /usr/bin/dchroot-dsa ]; then
+        CHROOTS=$(dchroot-dsa -i | grep Location | awk '{print $2}')
+fi
+if [ -n "$CHROOTS" ]; then
 	for c in $CHROOTS; do
 		if [ -x "$c/usr/bin/makedb" ]
 		then



More information about the Da-tools-commits mailing list