Merge sshkeys branch from Stephen and Mark
[mirror/userdir-ldap.git] / ud-replicate
index 8bbef7c..d1c0b24 100755 (executable)
@@ -90,6 +90,11 @@ fi
 
 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