From: Valentin Vidic Date: Thu, 23 Apr 2009 11:52:50 +0000 (+0200) Subject: Handle amavis upgrade. X-Git-Tag: debian/5.0.0~43 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=cd8d314efd5ddbf380c1fe3154a8f4c1547ea22e;p=carnet-upgrade.git Handle amavis upgrade. --- 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