X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-replicate;h=d1c0b24ca2519d7af07087cc69df3b59c8f8a398;hb=88a19a6e47a1c577474311d016ae5d26a72a4029;hp=8bbef7c892f1e4c714e29d27510f299ecd6eed36;hpb=a9ebb6f2afbf0fbc0e94ab73726dedb6a8ae5d75;p=mirror%2Fuserdir-ldap.git diff --git a/ud-replicate b/ud-replicate index 8bbef7c..d1c0b24 100755 --- a/ud-replicate +++ b/ud-replicate @@ -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