From: Ivan Rako Date: Tue, 15 Jul 2008 10:44:59 +0000 (+0200) Subject: izmijenjen newalises-gecos X-Git-Tag: debian/2.7.1-1~17 X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=4ae3ac691dc566fa9b7d9dc7e61ac33cd11c398f;p=postfix-cn.git izmijenjen newalises-gecos --- diff --git a/debian/changelog b/debian/changelog index f95f25c..8a0e1f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +postfix-cn (2.3.8-6) stable; urgency=medium + + * Izmjene i dopune u newaliases-gecos + + -- Ivan Rako Tue, 15 Jul 2008 12:44:03 +0200 + postfix-cn (2.3.8-5) stable; urgency=medium * Dodan CARNetov DNSBL posluzitelj (zen.dnsbl-sh.carnet.hr) diff --git a/make-aliases-gecos.sh b/make-aliases-gecos.sh index f54fe9a..b26364c 100755 --- a/make-aliases-gecos.sh +++ b/make-aliases-gecos.sh @@ -27,5 +27,9 @@ getent passwd | awk -F: ' }' > $gecos.dpkg-tmp.$$ -cp_mv $gecos.dpkg-tmp.$$ $gecos -postalias $PA_OPTIONS hash:$gecos +if ! cmp -s $gecos.dpkg-tmp.$$ $gecos > /dev/null; then + cp_mv $gecos.dpkg-tmp.$$ $gecos + postalias $PA_OPTIONS hash:$gecos +else + rm -f $gecos.dpkg-tmp.$$ +fi