diff -Nru dovecot-1.2.12/debian/changelog dovecot-1.2.12/debian/changelog --- dovecot-1.2.12/debian/changelog 2010-07-09 14:39:24.000000000 +0100 +++ dovecot-1.2.12/debian/changelog 2010-09-23 09:02:39.000000000 +0100 @@ -1,3 +1,10 @@ +dovecot (1:1.2.12-1ubuntu4) maverick; urgency=low + + * debian/mail-stack-delivery.preinst: + - Properly close switch/case statement (LP: #645808) + + -- Niall Creech Thu, 23 Sep 2010 08:58:04 +0100 + dovecot (1:1.2.12-1ubuntu3) maverick; urgency=low * debian/rules, debian/dovecot-common.dovecot.upstart, debian/control, diff -Nru dovecot-1.2.12/debian/mail-stack-delivery.preinst dovecot-1.2.12/debian/mail-stack-delivery.preinst --- dovecot-1.2.12/debian/mail-stack-delivery.preinst 2010-06-29 14:29:09.000000000 +0100 +++ dovecot-1.2.12/debian/mail-stack-delivery.preinst 2010-09-23 09:02:54.000000000 +0100 @@ -44,8 +44,8 @@ fi -# Check if mail-stack-delivery.conf had any customizations -if [ -f "/usr/share/dovecot/mail-stack-delivery.conf" ]; then + # Check if mail-stack-delivery.conf had any customizations + if [ -f "/usr/share/dovecot/mail-stack-delivery.conf" ]; then if [ -f "/etc/dovecot/mail-stack-delivery.conf" ]; then mv /etc/dovecot/mail-stack-delivery.conf /etc/dovecot/mail-stack-delivery.conf.bak DIR=`mktemp -d` @@ -61,6 +61,16 @@ rm -rf $DIR fi -fi + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac #DEBHELPER#