From cd8d314efd5ddbf380c1fe3154a8f4c1547ea22e Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Thu, 23 Apr 2009 13:52:50 +0200 Subject: [PATCH] Handle amavis upgrade. --- src/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index 4620e8a..8e09d21 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -949,7 +949,7 @@ upgrade_amavis () { local conf # remove init script diversion before upgrade - if pkg amavisd-cn lt 3:2.4.2-4; then + if pkg amavisd-cn lt 3:2.6.1-1; then if [ -L /etc/init.d/amavis -a -f /etc/init.d/amavis.amavisd-new ]; then rm -vf /etc/init.d/amavis dpkg-divert --remove /etc/init.d/amavis -- 1.7.10.4