From 4ae3ac691dc566fa9b7d9dc7e61ac33cd11c398f Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Tue, 15 Jul 2008 12:44:59 +0200 Subject: [PATCH] izmijenjen newalises-gecos --- debian/changelog | 6 ++++++ make-aliases-gecos.sh | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) 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 -- 1.7.10.4