From: Peter Palfrader Date: Wed, 2 Nov 2011 22:42:06 +0000 (+0100) Subject: ud-replicate: do not hard-code 'debian.org' in the 'write-zonefile debian.org' call... X-Git-Tag: userdir-ldap-0.3.85~90 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=397a3586e72952124926dab0196124cad2191b00 ud-replicate: do not hard-code 'debian.org' in the 'write-zonefile debian.org' call, but instead re-use the domain from email-append. --- diff --git a/debian/changelog b/debian/changelog index a433320..149649c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,12 +7,14 @@ userdir-ldap (0.3.XXX) UNRELEASED; urgency=low * naming your variable like a module is unsmart. * ud-generate: filter on shadowAccount. * ud-mailgate: only run ldapmodfiy if we actually have attributes to modify. + * ud-replicate: do not hard-code 'debian.org' in the 'write-zonefile + debian.org' call, but instead re-use the domain from email-append. [ Stephen Gran ] * Fix deprecation warnings for sha module by using hashlib module instead * ud-fingerserv: update Net::LDAP import - -- Peter Palfrader Mon, 15 Aug 2011 21:52:22 +0200 + -- Peter Palfrader Wed, 02 Nov 2011 23:41:26 +0100 userdir-ldap (0.3.79) unstable; urgency=low diff --git a/ud-replicate b/ud-replicate index 4f7609b..8324a86 100755 --- a/ud-replicate +++ b/ud-replicate @@ -165,7 +165,7 @@ fi rndc_reload=0 if [ -e /var/lib/misc/thishost/dns-sshfp ]; then if ! cmp -s /var/lib/misc/thishost/dns-sshfp $tempfile; then - /git/HOOKS/write_zonefile debian.org + /git/HOOKS/write_zonefile "$EMAILAPPEND" rndc_reload=1 fi fi