From: Dinko Korunic <Dinko.Korunic@CARNet.hr>
Date: Mon, 17 Sep 2007 16:03:08 +0000 (+0000)
Subject: r2: - any -> all arch
X-Git-Tag: v3.3.1-1~28
X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=375cb43dbbaa9f08288683d23989530574a9acd9;p=spamassassin-cn.git

r2: - any -> all arch
- AWL clean can go b0rk, so || true it
---

diff --git a/debian/control b/debian/control
index 2ae5ae6..7012a8b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4)
 Standards-Version: 3.7.2
 
 Package: spamassassin-cn
-Architecture: any
+Architecture: all
 Depends: spamassassin (>= 3.1.7-1~bpo.1), razor (>= 2.670-1sarge2), libnet-dns-perl, carnet-tools-cn (>= 2.0), dcc-client (>= 1.2.74-2), gnupg (>= 1.4.1-1.sarge7)
 Conflicts: pyzor (<< 1:0.4.0+cvs20030201-3)
 Recommends: amavis
diff --git a/debian/postinst b/debian/postinst
index ee11369..0fc4320 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -262,7 +262,8 @@ fi
 if getent passwd amavis >/dev/null 2>&1; then
   if [ -s ~amavis/.spamassassin/auto-whitelist ]; then
     echo "CN: Cleaning the Amavis auto-whitelist"
-    su -c '/usr/bin/check_whitelist --clean' - amavis >/dev/null 2>&1 
+    su -c '/usr/bin/check_whitelist --clean' - amavis >/dev/null 2>&1 \
+      || true
   fi
 fi