From 2d2c3f3aa7012f140848ef3783098096bfe26e59 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Tue, 30 Oct 2007 00:07:56 +0000 Subject: [PATCH] r10: --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index eab468e..2c4826f 100755 --- a/debian/postinst +++ b/debian/postinst @@ -86,7 +86,7 @@ if dpkg --compare-versions "$2" lt 2.3.8-1; then if echo $mydestination | grep -q ", \$mydomain"; then mydestination="`echo $mydestination | sed 's/, \$mydomain//g'`" fi - if echo $mydestination | grep -q "localhost.\$mydomain"; then + if ! echo $mydestination | grep -q "localhost.\$mydomain"; then mydestination="$mydestination, localhost.\$mydomain" fi postconf -e mydestination="$mydestination" -- 1.7.10.4