From: Andreas Barth Date: Fri, 16 May 2008 17:34:58 +0000 (+0000) Subject: Add compatibility to dchroot-dsa to ud-replicate X-Git-Tag: userdir-ldap-0.3.24~9^2 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=76c08dc8ca3900264c1c8dcbbe26f169223d6cc2 Add compatibility to dchroot-dsa to ud-replicate --- diff --git a/debian/changelog b/debian/changelog index 3a77d70..7e241b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +userdir-ldap (0.3.24) UNRELEASED; urgency=low + + * Add compatibility to dchroot-dsa to ud-replicate. + + -- Andreas Barth Fri, 16 May 2008 17:32:37 +0000 + userdir-ldap (0.3.23) unstable; urgency=low * Fix generation of known_hosts file. diff --git a/ud-replicate b/ud-replicate index 655b263..d7137cd 100755 --- a/ud-replicate +++ b/ud-replicate @@ -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