Add compatibility to dchroot-dsa to ud-replicate
authorAndreas Barth <aba@not.so.argh.org>
Fri, 16 May 2008 17:34:58 +0000 (17:34 +0000)
committerAndreas Barth <aba@not.so.argh.org>
Fri, 16 May 2008 17:34:58 +0000 (17:34 +0000)
debian/changelog
ud-replicate

index 3a77d70..7e241b5 100644 (file)
@@ -1,3 +1,9 @@
+userdir-ldap (0.3.24) UNRELEASED; urgency=low
+
+  * Add compatibility to dchroot-dsa to ud-replicate.
+
+ -- Andreas Barth <aba@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.
index 655b263..d7137cd 100755 (executable)
@@ -70,6 +70,11 @@ ln -sf `pwd -P`/ssh_known_hosts /etc/ssh
 
 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